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