class Seriline::AvailableConfigProductsResponse

Attributes

error_message[R]
products[R]
success[R]

Public Class Methods

new(attributes = {}) click to toggle source
Calls superclass method Seriline::ResponseData::new
# File lib/seriline/responses/available_config_products_response.rb, line 7
def initialize(attributes = {})
  super(attributes)
  serialize_products
end

Private Instance Methods

serialize_products() click to toggle source
# File lib/seriline/responses/available_config_products_response.rb, line 14
def serialize_products
  @products = @products.map {|product_hash| AvailableConfigProductNode.new(product_hash) }
end