Sha256: ef0ae3a37ce191a219938907b4e1a7f405981c9e4131d1d974f1980cc56b6a2b
Contents?: true
Size: 582 Bytes
Versions: 20
Compression:
Stored size: 582 Bytes
Contents
class RestModel class Property < Key autoload :Sender, "rest_model/key/property/sender" autoload :Retriever, "rest_model/key/property/retriever" autoload :Response, "rest_model/key/property/response" include Sender include Retriever include Response attr_accessor :serializer, :translation def initialize(name, options = {}) super @serializer = options.fetch(:type, Serialization::String) @translation = Source::Translation.new(options) end def from_hash(value, resource = nil) value end end end
Version data entries
20 entries across 20 versions & 1 rubygems