Class: AppStoreDevApi::Schema::Object
- Inherits:
-
Object
- Object
- AppStoreDevApi::Schema::Object
- Defined in:
- lib/app_store_dev_api/schema/object.rb
Instance Attribute Summary collapse
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(options) ⇒ Object
Returns a new instance of Object.
8 9 10 11 |
# File 'lib/app_store_dev_api/schema/object.rb', line 8 def initialize() @type = .fetch(:type) @properties = .fetch(:properties) end |
Instance Attribute Details
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
6 7 8 |
# File 'lib/app_store_dev_api/schema/object.rb', line 6 def properties @properties end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
6 7 8 |
# File 'lib/app_store_dev_api/schema/object.rb', line 6 def type @type end |