Class: JSONAPI::Consumer::Schema::Types::Float
- Inherits:
-
Object
- Object
- JSONAPI::Consumer::Schema::Types::Float
- Defined in:
- lib/jsonapi/consumer/schema.rb
Class Method Summary collapse
Class Method Details
.cast(value, _) ⇒ Object
18 19 20 |
# File 'lib/jsonapi/consumer/schema.rb', line 18 def self.cast(value, _) value.to_f end |