Class: Fastlane::AppstoreReviews::Links
- Inherits:
-
Object
- Object
- Fastlane::AppstoreReviews::Links
- Defined in:
- lib/fastlane/plugin/appstore_reviews/models/links.rb
Instance Attribute Summary collapse
-
#next_link ⇒ Object
Returns the value of attribute next_link.
-
#related ⇒ Object
Returns the value of attribute related.
-
#self_link ⇒ Object
Returns the value of attribute self_link.
Instance Method Summary collapse
-
#initialize(json) ⇒ Links
constructor
A new instance of Links.
Constructor Details
#initialize(json) ⇒ Links
Returns a new instance of Links.
6 7 8 9 10 |
# File 'lib/fastlane/plugin/appstore_reviews/models/links.rb', line 6 def initialize(json) @self_link = json['self'] = json['related'] || nil @next_link = json['next'] || nil end |
Instance Attribute Details
#next_link ⇒ Object
Returns the value of attribute next_link.
4 5 6 |
# File 'lib/fastlane/plugin/appstore_reviews/models/links.rb', line 4 def next_link @next_link end |
#related ⇒ Object
Returns the value of attribute related.
4 5 6 |
# File 'lib/fastlane/plugin/appstore_reviews/models/links.rb', line 4 def end |
#self_link ⇒ Object
Returns the value of attribute self_link.
4 5 6 |
# File 'lib/fastlane/plugin/appstore_reviews/models/links.rb', line 4 def self_link @self_link end |