Class: CoinsPaid::API::TakeAddress::Request
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- CoinsPaid::API::TakeAddress::Request
- Defined in:
- lib/coins_paid/api/take_address.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
11 12 13 14 |
# File 'lib/coins_paid/api/take_address.rb', line 11 def to_hash convert_value = convert_to != currency ? convert_to : nil super().merge(convert_to: convert_value).compact end |