class StellarClient::Coercers::IndifferentHash
Public Instance Methods
coerce(value)
click to toggle source
# File lib/stellar_client/coercers/indifferent_hash.rb, line 5 def coerce(value) value.is_a?(::Hash) ? value.with_indifferent_access : value end