Class: ConnectorKit::App
- Inherits:
-
Object
- Object
- ConnectorKit::App
- Defined in:
- lib/connector_kit/models/app.rb
Overview
Simple model class for representing Apps in the App Store Connect API
Instance Attribute Summary collapse
-
#bundle_id ⇒ Object
readonly
Returns the value of attribute bundle_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#sku ⇒ Object
readonly
Returns the value of attribute sku.
Instance Method Summary collapse
-
#initialize(options) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(options) ⇒ App
Returns a new instance of App.
6 7 8 9 10 11 12 13 |
# File 'lib/connector_kit/models/app.rb', line 6 def initialize() @id = ['id'] attrs = ['attributes'] @bundle_id = attrs['bundleId'] @name = attrs['name'] @sku = attrs['sku'] end |
Instance Attribute Details
#bundle_id ⇒ Object (readonly)
Returns the value of attribute bundle_id.
4 5 6 |
# File 'lib/connector_kit/models/app.rb', line 4 def bundle_id @bundle_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/connector_kit/models/app.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/connector_kit/models/app.rb', line 4 def name @name end |
#sku ⇒ Object (readonly)
Returns the value of attribute sku.
4 5 6 |
# File 'lib/connector_kit/models/app.rb', line 4 def sku @sku end |