Class: MasterCard::Core::Model::OperationMetadata
- Inherits:
-
Object
- Object
- MasterCard::Core::Model::OperationMetadata
- Defined in:
- lib/mastercard/core/model.rb
Overview
OperationMetadata
Instance Method Summary collapse
- #getContentTypeOverride ⇒ Object
- #getContext ⇒ Object
- #getHost ⇒ Object
- #getVersion ⇒ Object
-
#initialize(version, host, context = nil, jsonNative = false, contentTypeOverride = nil) ⇒ OperationMetadata
constructor
A new instance of OperationMetadata.
- #isJsonNative ⇒ Object
Constructor Details
#initialize(version, host, context = nil, jsonNative = false, contentTypeOverride = nil) ⇒ OperationMetadata
Returns a new instance of OperationMetadata.
416 417 418 419 420 421 422 |
# File 'lib/mastercard/core/model.rb', line 416 def initialize(version, host, context = nil, jsonNative = false, contentTypeOverride = nil) @version = version @host = host @context = context @jsonNative = jsonNative @contentTypeOverride = contentTypeOverride end |
Instance Method Details
#getContentTypeOverride ⇒ Object
440 441 442 |
# File 'lib/mastercard/core/model.rb', line 440 def getContentTypeOverride() return @contentTypeOverride end |
#getContext ⇒ Object
432 433 434 |
# File 'lib/mastercard/core/model.rb', line 432 def getContext() return @context end |
#getHost ⇒ Object
428 429 430 |
# File 'lib/mastercard/core/model.rb', line 428 def getHost() return @host end |
#getVersion ⇒ Object
424 425 426 |
# File 'lib/mastercard/core/model.rb', line 424 def getVersion() return @version end |
#isJsonNative ⇒ Object
436 437 438 |
# File 'lib/mastercard/core/model.rb', line 436 def isJsonNative() return @jsonNative end |