Class: AppStoreDevApi::Schema::Object

Inherits:
Object
  • Object
show all
Defined in:
lib/app_store_dev_api/schema/object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options)
  @type = options.fetch(:type)
  @properties = options.fetch(:properties)
end

Instance Attribute Details

#propertiesObject (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

#typeObject (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