Sha256: 60846ed739e2d69ac427eb51ce934608fafec1943e2ad6ed44c969be70ba99c3

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

class Wco::Organization
  include Mongoid::Document
  include Mongoid::Timestamps

  field :name
  field :customer_id # stripe

  has_many :profiles, class_name: '::Ish::UserProfile', inverse_of: :organization
  has_many :subscriptions, class_name: '::Wco::Subscription', inverse_of: :organization

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_models-0.0.33.258 lib/wco/organization.rb