Sha256: ae76ba9aeb10c58b354bfa766f0df6f146f3c1f640508896e6968748d5dd4cde
Contents?: true
Size: 405 Bytes
Versions: 9
Compression:
Stored size: 405 Bytes
Contents
require 'active_model' class Kaui::Bundle < Kaui::Base define_attr :account_id define_attr :external_key define_attr :bundle_id has_many :subscriptions, Kaui::Subscription def initialize(data = {}) super(:external_key => data['externalKey'], :bundle_id => data['bundleId'], :account_id => data['accountId'], :subscriptions => data['subscriptions']) end end
Version data entries
9 entries across 9 versions & 1 rubygems