Sha256: e8d0a4718c485fea8c247a224868c5e4121c0e7740e612c413a58df4342de1c8
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
require 'restful_model' module Inbox class Account < RestfulModel attr_accessor :account_id attr_accessor :trial attr_accessor :trial_expires attr_accessor :sync_state def initialize(params = {}) @account_id = params.fetch(:account_id, '') @trial = params.fetch(:trial, '') @trial_expires = params.fetch(:trial_expires, '') @sync_state = params.fetch(:sync_state, '') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
inbox-0.13.0 | lib/account.rb |
inbox-0.12.0 | lib/account.rb |
inbox-0.11.0 | lib/account.rb |