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
- #getContext ⇒ Object
- #getHost ⇒ Object
- #getVersion ⇒ Object
-
#initialize(version, host, context = nil) ⇒ OperationMetadata
constructor
A new instance of OperationMetadata.
Constructor Details
#initialize(version, host, context = nil) ⇒ OperationMetadata
Returns a new instance of OperationMetadata.
350 351 352 353 354 |
# File 'lib/mastercard/core/model.rb', line 350 def initialize(version, host, context = nil) @version = version @host = host @context = context end |
Instance Method Details
#getContext ⇒ Object
364 365 366 |
# File 'lib/mastercard/core/model.rb', line 364 def getContext() return @context end |
#getHost ⇒ Object
360 361 362 |
# File 'lib/mastercard/core/model.rb', line 360 def getHost() return @host end |
#getVersion ⇒ Object
356 357 358 |
# File 'lib/mastercard/core/model.rb', line 356 def getVersion() return @version end |