Sha256: 0e071c54c15997b45b1b0473f59f9781b40d75091a0ca2de8fc9923dd193db3f
Contents?: true
Size: 726 Bytes
Versions: 7
Compression:
Stored size: 726 Bytes
Contents
module ApiResource module Typecast # The unknown typecaster which does not modify the value of # the attribute in either direction. Keeps the interface consistent # for unspecified typecasters # # @author [ejlangev] # module UnknownTypecaster # # Just returns what was passed in # @param value [Object] The value to typecast # # @return [Object] An unmodified value def self.from_api(value) return value end # # Just returns what was passed in # @param value [Object] The value to typecast # # @return [Object] An unmodified value def self.to_api(value) return value end end end end
Version data entries
7 entries across 7 versions & 1 rubygems