Class: BigDoor::NamedLevelCollection
- Defined in:
- lib/big_door/named_level_collection.rb
Overview
This module provides NamedLevelCollection Resource object corresponding to /named_level_collection BigDoor API end point
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ NamedLevelCollection
constructor
Initialize new NamedLevelCollection object with optional Hash.
Methods inherited from Resource
all, #delete, #end_point, end_point, end_point_from_classname, #get_id, #instance_to_payload, #load, #response_to_instance, #save
Constructor Details
#initialize(hash = {}) ⇒ NamedLevelCollection
Initialize new NamedLevelCollection object with optional Hash
13 14 15 16 17 18 19 20 21 |
# File 'lib/big_door/named_level_collection.rb', line 13 def initialize( hash = {} ) $log.debug( "NamedLevelCollection init with hash = #{hash.inspect}") default_values = { 'currency_id' => nil, } default_values.merge!( hash ) $log.debug( "NamedLevelCollection default_values = #{default_values.inspect}") super( default_values ) end |