Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup, change to links structure though api
- Loading branch information
1 parent
e0934f7
commit a00c399
Showing
24 changed files
with
3,037 additions
and
3,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
require 'virtus' | ||
require 'neows/models/base_model' | ||
require 'neows/models/link' | ||
require 'neows/models/self_link' | ||
|
||
module Neows | ||
module Models | ||
class Links < Neows::Models::BaseModel | ||
# @!attribute [rw] | ||
# @return [Neows::Models::Link] | ||
attribute :self, Neows::Models::Link | ||
# @return [String] | ||
attribute :self, String | ||
|
||
# @!attribute [rw] | ||
# @return [Neows::Models::Link] | ||
attribute :next, Neows::Models::Link | ||
# @return [String] | ||
attribute :next, String | ||
|
||
# @!attribute [rw] | ||
# @return [Neows::Models::Link] | ||
attribute :prev, Neows::Models::Link | ||
# @return [String] | ||
attribute :prev, String | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.