Class: CoinsPaid::API::TakeAddress::Request

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/coins_paid/api/take_address.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



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