Class: ClashOfClansApi::Models::PaginatedResponse
- Defined in:
- lib/clash_of_clans_api/models/paginated_response.rb
Instance Attribute Summary collapse
-
#item_type ⇒ Object
Returns the value of attribute item_type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(item_type, hash, client) ⇒ PaginatedResponse
constructor
A new instance of PaginatedResponse.
Methods inherited from Base
#[], #cache_property, property, #property_cached?, #property_from_cache, registered_properties, #to_h, #validate!
Constructor Details
#initialize(item_type, hash, client) ⇒ PaginatedResponse
Returns a new instance of PaginatedResponse.
12 13 14 15 16 |
# File 'lib/clash_of_clans_api/models/paginated_response.rb', line 12 def initialize(item_type, hash, client) self.item_type = item_type super(hash, client) end |
Instance Attribute Details
#item_type ⇒ Object
Returns the value of attribute item_type.
7 8 9 |
# File 'lib/clash_of_clans_api/models/paginated_response.rb', line 7 def item_type @item_type end |