Sha256: de7852eaefb7a604cb1cac9a0293c4b9ac68c04cbe80f2f81ee1b295a59337eb

Contents?: true

Size: 465 Bytes

Versions: 30

Compression:

Stored size: 465 Bytes

Contents

class Kaui::Bundle < Kaui::Base
  define_attr :account_id
  define_attr :external_key
  define_attr :bundle_id

  has_many :subscriptions, Kaui::Subscription
  has_many :audit_logs, Kaui::AuditLog

  def initialize(data = {})
    super(:external_key => data['externalKey'],
          :bundle_id => data['bundleId'],
          :account_id => data['accountId'],
          :subscriptions => data['subscriptions'],
          :audit_logs => data['auditLogs'])
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
kaui-0.6.6 app/models/kaui/bundle.rb
kaui-0.6.5 app/models/kaui/bundle.rb
kaui-0.6.4 app/models/kaui/bundle.rb
kaui-0.6.3 app/models/kaui/bundle.rb
kaui-0.6.2 app/models/kaui/bundle.rb
kaui-0.6.1 app/models/kaui/bundle.rb
kaui-0.6.0 app/models/kaui/bundle.rb
kaui-0.5.3 app/models/kaui/bundle.rb
kaui-0.5.2 app/models/kaui/bundle.rb
kaui-0.5.1 app/models/kaui/bundle.rb
kaui-0.5.0 app/models/kaui/bundle.rb
kaui-0.4.9 app/models/kaui/bundle.rb
kaui-0.4.8 app/models/kaui/bundle.rb
kaui-0.4.7 app/models/kaui/bundle.rb
kaui-0.4.6 app/models/kaui/bundle.rb
kaui-0.4.5 app/models/kaui/bundle.rb
kaui-0.4.4 app/models/kaui/bundle.rb
kaui-0.4.3 app/models/kaui/bundle.rb
kaui-0.4.2 app/models/kaui/bundle.rb
kaui-0.4.1 app/models/kaui/bundle.rb