Class: Spaceship::ConnectAPI::BuildBundleFileSizes
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::BuildBundleFileSizes
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb
Instance Attribute Summary collapse
-
#device_model ⇒ Object
Returns the value of attribute device_model.
-
#download_bytes ⇒ Object
Returns the value of attribute download_bytes.
-
#install_bytes ⇒ Object
Returns the value of attribute install_bytes.
-
#os_version ⇒ Object
Returns the value of attribute os_version.
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
#device_model ⇒ Object
Returns the value of attribute device_model.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 7 def device_model @device_model end |
#download_bytes ⇒ Object
Returns the value of attribute download_bytes.
9 10 11 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 9 def download_bytes @download_bytes end |
#install_bytes ⇒ Object
Returns the value of attribute install_bytes.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 10 def install_bytes @install_bytes end |
#os_version ⇒ Object
Returns the value of attribute os_version.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 8 def os_version @os_version end |
Class Method Details
.all(client: nil, build_bundle_id: nil, limit: 30) ⇒ Object
API
27 28 29 30 31 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 27 def self.all(client: nil, build_bundle_id: nil, limit: 30) client ||= Spaceship::ConnectAPI resps = client.get_build_bundles_build_bundle_file_sizes(build_bundle_id: build_bundle_id).all_pages resps.flat_map(&:to_models) end |
.type ⇒ Object
19 20 21 |
# File 'spaceship/lib/spaceship/connect_api/models/build_bundle_file_sizes.rb', line 19 def self.type return "buildBundleFileSizes" end |