Class: OnlinePayments::SDK::Domain::ShowInstructionsData
- Inherits:
-
DataObject
- Object
- DataObject
- OnlinePayments::SDK::Domain::ShowInstructionsData
- Defined in:
- lib/onlinepayments/sdk/domain/show_instructions_data.rb
Instance Attribute Summary collapse
-
#show_data ⇒ String
The current value of show_data.
Instance Method Summary collapse
Methods inherited from DataObject
Instance Attribute Details
#show_data ⇒ String
Returns the current value of show_data.
10 11 12 |
# File 'lib/onlinepayments/sdk/domain/show_instructions_data.rb', line 10 def show_data @show_data end |
Instance Method Details
#from_hash(hash) ⇒ Object
21 22 23 24 25 26 |
# File 'lib/onlinepayments/sdk/domain/show_instructions_data.rb', line 21 def from_hash(hash) super if hash.has_key? 'showData' @show_data = hash['showData'] end end |
#to_h ⇒ Hash
15 16 17 18 19 |
# File 'lib/onlinepayments/sdk/domain/show_instructions_data.rb', line 15 def to_h hash = super hash['showData'] = @show_data unless @show_data.nil? hash end |