Class: JSONAPI::Consumer::Schema::Types::Integer
- Inherits:
-
Object
- Object
- JSONAPI::Consumer::Schema::Types::Integer
- Defined in:
- lib/jsonapi/consumer/schema.rb
Class Method Summary collapse
Class Method Details
.cast(value, _) ⇒ Object
6 7 8 |
# File 'lib/jsonapi/consumer/schema.rb', line 6 def self.cast(value, _) value.to_i end |