Class: MasterCard::API::Spendcontrols::Notification

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/spendcontrols/notification.rb

Class Method Summary collapse

Class Method Details

.create(mapObj) ⇒ Object



60
61
62
63
64
65
66
67
68
# File 'lib/mastercard/api/spendcontrols/notification.rb', line 60

def self.create(mapObj)
  #
  #Creates object of type Notification
  #
  #@param Dict mapObj, containing the required parameters to create a new object
  #@return [Notification] of the response of created instance.
  #@raise [APIException] an exception from the response status
  return self.execute("d9359b5c-f886-462a-8a67-464790e94dcd", Notification.new(mapObj))
end