Sha256: 9f3441c970fc7c9f54dd3a0835914308fbb60a3f671ebffd1d9548cb5532765d

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

class Subscription
  include Dynamoid::Document

  field :length, :integer

  belongs_to :magazine
  has_and_belongs_to_many :users

  belongs_to :customer, :class_name => 'User', :inverse_of => :monthly

  has_and_belongs_to_many :camel_cases
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
dynamoid-moda-0.7.2 spec/app/models/subscription.rb
dynamoid-moda-0.7.1 spec/app/models/subscription.rb
dynamoid-0.7.1 spec/app/models/subscription.rb
dynamoid-0.7.0 spec/app/models/subscription.rb