Sha256: cdfd20e65a472f2a463099eb148fb434d89a87d54eb96d4170ba0b1e0ea25d30
Contents?: true
Size: 495 Bytes
Versions: 7
Compression:
Stored size: 495 Bytes
Contents
class Gillbus class Tariff class ReturnCause extend Fields include UpdateAttrs field :lossless, :bool field :cause, :string def self.parse(doc, _ = nil, _ = nil) instance = super if doc.kind_of? Hash instance.cause = doc['__content__'] instance.lossless = doc['lossless'] == 'true' else instance.cause = doc instance.lossless = false end instance end end end end
Version data entries
7 entries across 7 versions & 1 rubygems