Class: MasterCard::Core::Model::BaseObject

Inherits:
RequestMap show all
Includes:
Controller, MasterCard::Core::Model
Defined in:
lib/mastercard/core/baseobject.rb

Overview

BaseObject

Constant Summary

Constants inherited from SmartMap

SmartMap::KEY_LIST

Instance Method Summary collapse

Methods inherited from SmartMap

#containsKeys, #get, #getObject, #set, #setAll, #size

Constructor Details

#initialize(requestMap = nil) ⇒ BaseObject

Returns a new instance of BaseObject.



15
16
17
18
19
20
21
22
23
24
# File 'lib/mastercard/core/baseobject.rb', line 15

def initialize(requestMap = nil)

  #call the base class constructor
  super()

  unless requestMap.nil?
    setAll(requestMap.getObject())
  end

end