Class: BigDoor::EndUser
- Defined in:
- lib/big_door/end_user.rb
Overview
This module provides EndUser Resource object corresponding to /end_user BigDoor API end point
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ EndUser
constructor
Initialize new EndUser object with optional Hash.
-
#resource_id ⇒ String
Overrides object resource id.
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 = {}) ⇒ EndUser
Initialize new EndUser object with optional Hash
14 15 16 17 18 19 20 21 22 |
# File 'lib/big_door/end_user.rb', line 14 def initialize( hash = {} ) $log.debug( "EndUser init with hash = #{hash.inspect}") default_values = { 'end_user_login' => '', } default_values.merge!( hash ) $log.debug( "EndUser default_values = #{default_values.inspect}") super( default_values ) end |
Instance Method Details
#resource_id ⇒ String
Overrides object resource id
28 29 30 |
# File 'lib/big_door/end_user.rb', line 28 def resource_id self.end_user_login end |