Class: Seriline::AvailableConfigProductsResponse

Inherits:
ResponseData
  • Object
show all
Defined in:
lib/seriline/responses/available_config_products_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ResponseData

#success?

Constructor Details

#initialize(attributes = {}) ⇒ AvailableConfigProductsResponse

Returns a new instance of AvailableConfigProductsResponse.



7
8
9
10
# File 'lib/seriline/responses/available_config_products_response.rb', line 7

def initialize(attributes = {})
  super(attributes)
  serialize_products
end

Instance Attribute Details

#error_messageObject (readonly)

Returns the value of attribute error_message.



5
6
7
# File 'lib/seriline/responses/available_config_products_response.rb', line 5

def error_message
  @error_message
end

#productsObject (readonly)

Returns the value of attribute products.



5
6
7
# File 'lib/seriline/responses/available_config_products_response.rb', line 5

def products
  @products
end

#successObject (readonly)

Returns the value of attribute success.



5
6
7
# File 'lib/seriline/responses/available_config_products_response.rb', line 5

def success
  @success
end