Class: JSONAPI::Consumer::Schema::Types::String

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

Class Method Summary collapse

Class Method Details

.cast(value, _) ⇒ Object



12
13
14
# File 'lib/jsonapi/consumer/schema.rb', line 12

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