Class: Spaceship::ConnectAPI::AppDataUsagePurpose
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::AppDataUsagePurpose
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb
Defined Under Namespace
Modules: ID
Instance Attribute Summary collapse
-
#deleted ⇒ Object
Returns the value of attribute deleted.
Attributes included from Model
Class Method Summary collapse
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#deleted ⇒ Object
Returns the value of attribute deleted.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb', line 7 def deleted @deleted end |
Class Method Details
.all(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
API
31 32 33 34 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb', line 31 def self.all(filter: {}, includes: nil, limit: nil, sort: nil) resps = Spaceship::ConnectAPI.get_app_data_usage_purposes(filter: filter, includes: includes, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end |
.type ⇒ Object
23 24 25 |
# File 'spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb', line 23 def self.type return "appDataUsagePurposes" end |