Class: Fastlane::AppstoreReviews::Links

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/appstore_reviews/models/links.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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']
  @related = json['related'] || nil
  @next_link = json['next'] || nil
end

Instance Attribute Details

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

Returns the value of attribute related.



4
5
6
# File 'lib/fastlane/plugin/appstore_reviews/models/links.rb', line 4

def related
  @related
end

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