Class: JsonApiClient::Schema::Types::Decimal

Inherits:
Object
  • Object
show all
Defined in:
lib/json_api_client/schema.rb

Class Method Summary collapse

Class Method Details

.cast(value, _) ⇒ Object



31
32
33
# File 'lib/json_api_client/schema.rb', line 31

def self.cast(value, _)
  BigDecimal(value)
end