Sha256: a22158bdb37a63b5caa980fdb7822a36b1b11ca9682bc8663c2c50d992bf9fbd
Contents?: true
Size: 382 Bytes
Versions: 3
Compression:
Stored size: 382 Bytes
Contents
class Subscription include Ripple::Document class MyCustomType attr_accessor :foo def initialize(foo) self.foo = foo end def as_json(options = {}) foo end def self.ripple_cast(value) new(value) end def ==(other) other.foo == foo end end property :days_of_month, Set property :custom_data, MyCustomType end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
wyngle-ripple-0.1.0 | spec/support/models/subscription.rb |
ripple-1.0.0.beta2 | spec/support/models/subscription.rb |
ripple-1.0.0.beta | spec/support/models/subscription.rb |