class MasterCard::API::PersonalizedLoyaltyOffers::UserFeedback
Public Class Methods
userFeedback(mapObj)
click to toggle source
# File lib/mastercard/api/personalizedloyaltyoffers/userfeedback.rb, line 60 def self.userFeedback(mapObj) # #Creates object of type UserFeedback # #@param Dict mapObj, containing the required parameters to create a new object #@return [UserFeedback] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("da3bd94a-c324-49a5-b5ce-9c4ec1a711ca", UserFeedback.new(mapObj)) end
Protected Class Methods
getOperationConfig(uuid)
click to toggle source
# File lib/mastercard/api/personalizedloyaltyoffers/userfeedback.rb, line 46 def self.getOperationConfig(uuid) if @__store.key?(uuid) return @__store[uuid] end raise NotImplementedError.new("Invalid operationUUID supplied:"+ uuid) end
getOperationMetadata()
click to toggle source
# File lib/mastercard/api/personalizedloyaltyoffers/userfeedback.rb, line 53 def self.getOperationMetadata() return OperationMetadata.new(ResourceConfig.instance.getVersion(), ResourceConfig.instance.getHost(), ResourceConfig.instance.getContext()) end