Class: Fastlane::AppstoreReviews::Paging

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Paging

Returns a new instance of Paging.



6
7
8
9
# File 'lib/fastlane/plugin/appstore_reviews/models/paging.rb', line 6

def initialize(json)
  @total = json['total']
  @limit = json['limit']
end

Instance Attribute Details

#limitObject

Returns the value of attribute limit.



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

def limit
  @limit
end

#totalObject

Returns the value of attribute total.



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

def total
  @total
end