Class: ConnectorKit::App
Overview
Simple model class for representing Apps
Instance Attribute Summary collapse
-
#bundle_id ⇒ Object
readonly
Returns the value of attribute bundle_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#sku ⇒ Object
readonly
Returns the value of attribute sku.
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(options) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(options) ⇒ App
Returns a new instance of App.
8 9 10 11 12 13 14 15 |
# File 'lib/connector_kit/models/app.rb', line 8 def initialize() super() 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.
6 7 8 |
# File 'lib/connector_kit/models/app.rb', line 6 def bundle_id @bundle_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/connector_kit/models/app.rb', line 6 def name @name end |
#sku ⇒ Object (readonly)
Returns the value of attribute sku.
6 7 8 |
# File 'lib/connector_kit/models/app.rb', line 6 def sku @sku end |