Class: JsonApiClient::Schema::Types::Float

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

Class Method Summary collapse

Class Method Details

.cast(value, _) ⇒ Object


19
20
21
# File 'lib/json_api_client/schema.rb', line 19

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