Class: MasterCard::API::TravelRecommender::Recommendation
- Inherits:
-
Core::Model::BaseObject
- Object
- Core::Model::BaseObject
- MasterCard::API::TravelRecommender::Recommendation
- Includes:
- Core::Model
- Defined in:
- lib/mastercard/api/travelrecommender/recommendation.rb
Class Method Summary collapse
Class Method Details
.create(mapObj) ⇒ Object
60 61 62 63 64 65 66 67 68 |
# File 'lib/mastercard/api/travelrecommender/recommendation.rb', line 60 def self.create(mapObj) # #Creates object of type Recommendation # #@param Dict mapObj, containing the required parameters to create a new object #@return [Recommendation] of the response of created instance. #@raise [APIException] an exception from the response status return self.execute("784c9b4b-5624-4fae-aaa2-ef8a55300cc5", Recommendation.new(mapObj)) end |