class BluepanClient::IndifferentHash
Public Instance Methods
coerce(value)
click to toggle source
# File lib/bluepan_client/indifferent_hash.rb, line 3 def coerce(value) value.is_a?(::Hash) ? value.with_indifferent_access : value end