Class: PriorityPayoutGateway::Result::Action
- Defined in:
- lib/priority_payout_gateway/result/action.rb
Instance Attribute Summary collapse
-
#action_type ⇒ Object
Returns the value of attribute action_type.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#date ⇒ Object
Returns the value of attribute date.
-
#device_license_number ⇒ Object
Returns the value of attribute device_license_number.
-
#device_nickname ⇒ Object
Returns the value of attribute device_nickname.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#processor_batch_id ⇒ Object
Returns the value of attribute processor_batch_id.
-
#processor_response_code ⇒ Object
Returns the value of attribute processor_response_code.
-
#processor_response_text ⇒ Object
Returns the value of attribute processor_response_text.
-
#response_code ⇒ Object
Returns the value of attribute response_code.
-
#response_text ⇒ Object
Returns the value of attribute response_text.
-
#source ⇒ Object
Returns the value of attribute source.
-
#success ⇒ Object
Returns the value of attribute success.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(action) ⇒ Action
constructor
A new instance of Action.
Methods inherited from Data
Constructor Details
#initialize(action) ⇒ Action
Returns a new instance of Action.
9 10 11 12 13 |
# File 'lib/priority_payout_gateway/result/action.rb', line 9 def initialize(action) set_attributes(action) $actions ||= [] $actions << action.keys end |
Instance Attribute Details
#action_type ⇒ Object
Returns the value of attribute action_type.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def action_type @action_type end |
#amount ⇒ Object
Returns the value of attribute amount.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def amount @amount end |
#batch_id ⇒ Object
Returns the value of attribute batch_id.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def batch_id @batch_id end |
#date ⇒ Object
Returns the value of attribute date.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def date @date end |
#device_license_number ⇒ Object
Returns the value of attribute device_license_number.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def device_license_number @device_license_number end |
#device_nickname ⇒ Object
Returns the value of attribute device_nickname.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def device_nickname @device_nickname end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def ip_address @ip_address end |
#processor_batch_id ⇒ Object
Returns the value of attribute processor_batch_id.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def processor_batch_id @processor_batch_id end |
#processor_response_code ⇒ Object
Returns the value of attribute processor_response_code.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def processor_response_code @processor_response_code end |
#processor_response_text ⇒ Object
Returns the value of attribute processor_response_text.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def processor_response_text @processor_response_text end |
#response_code ⇒ Object
Returns the value of attribute response_code.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def response_code @response_code end |
#response_text ⇒ Object
Returns the value of attribute response_text.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def response_text @response_text end |
#source ⇒ Object
Returns the value of attribute source.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def source @source end |
#success ⇒ Object
Returns the value of attribute success.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def success @success end |
#username ⇒ Object
Returns the value of attribute username.
5 6 7 |
# File 'lib/priority_payout_gateway/result/action.rb', line 5 def username @username end |