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.
348 349 350 351 352 |
# File 'lib/mastercard/core/model.rb', line 348 def initialize(version, host, context = nil) @version = version @host = host @context = context end |
Instance Method Details
#getContext ⇒ Object
362 363 364 |
# File 'lib/mastercard/core/model.rb', line 362 def getContext() return @context end |
#getHost ⇒ Object
358 359 360 |
# File 'lib/mastercard/core/model.rb', line 358 def getHost() return @host end |
#getVersion ⇒ Object
354 355 356 |
# File 'lib/mastercard/core/model.rb', line 354 def getVersion() return @version end |