Class: Spaceship::ConnectAPI::BundleId
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::BundleId
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/bundle_id.rb
Defined Under Namespace
Modules: Platform
Instance Attribute Summary collapse
-
#bundle_id_capabilities ⇒ Object
Returns the value of attribute bundle_id_capabilities.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#name ⇒ Object
Returns the value of attribute name.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#seed_id ⇒ Object
Returns the value of attribute seed_id.
Attributes included from Model
Class Method Summary collapse
-
.all(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
API.
- .get(bundle_id_id: nil, includes: nil) ⇒ Object
- .type ⇒ Object
Methods included from Model
#attr_mapping, included, #initialize, #to_json, #update_attributes
Instance Attribute Details
#bundle_id_capabilities ⇒ Object
Returns the value of attribute bundle_id_capabilities.
12 13 14 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 12 def bundle_id_capabilities @bundle_id_capabilities end |
#identifier ⇒ Object
Returns the value of attribute identifier.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 7 def identifier @identifier end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 8 def name @name end |
#platform ⇒ Object
Returns the value of attribute platform.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 10 def platform @platform end |
#seed_id ⇒ Object
Returns the value of attribute seed_id.
9 10 11 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 9 def seed_id @seed_id end |
Class Method Details
.all(filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
API
36 37 38 39 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 36 def self.all(filter: {}, includes: nil, limit: nil, sort: nil) resps = Spaceship::ConnectAPI.get_bundle_ids(filter: filter, includes: includes).all_pages return resps.flat_map(&:to_models) end |
.get(bundle_id_id: nil, includes: nil) ⇒ Object
41 42 43 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 41 def self.get(bundle_id_id: nil, includes: nil) return Spaceship::ConnectAPI.get_bundle_id(bundle_id_id: bundle_id_id, includes: includes).first end |
.type ⇒ Object
28 29 30 |
# File 'spaceship/lib/spaceship/connect_api/models/bundle_id.rb', line 28 def self.type return "bundleIds" end |