Class: Fastlane::AppstoreReviews::Paging
- Inherits:
-
Object
- Object
- Fastlane::AppstoreReviews::Paging
- Defined in:
- lib/fastlane/plugin/appstore_reviews/models/paging.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(json) ⇒ Paging
constructor
A new instance of Paging.
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
#limit ⇒ Object
Returns the value of attribute limit.
4 5 6 |
# File 'lib/fastlane/plugin/appstore_reviews/models/paging.rb', line 4 def limit @limit end |
#total ⇒ Object
Returns the value of attribute total.
4 5 6 |
# File 'lib/fastlane/plugin/appstore_reviews/models/paging.rb', line 4 def total @total end |