class BlazingDocs::AccountModel

Attributes

api_key[RW]
created_at[R]
id[RW]
is_disabled[RW]
last_synced_at[R]
name[RW]
obsolete_api_key[RW]
plan[R]
updated_at[R]

Public Instance Methods

created_at=(created_at_str) click to toggle source
   # File lib/blazingdocs/models/account_model.rb
22 def created_at=(created_at_str)
23   @created_at = DateTime.iso8601(created_at_str)
24 end
last_synced_at=(last_synced_at_str) click to toggle source
   # File lib/blazingdocs/models/account_model.rb
26 def last_synced_at=(last_synced_at_str)
27   @last_synced_at = if !last_synced_at_str.nil?
28                       DateTime.iso8601(last_synced_at_str)
29                     else
30                       nil
31                     end
32 end
plan=(plan_hash) click to toggle source
   # File lib/blazingdocs/models/account_model.rb
18 def plan=(plan_hash)
19   @plan = PlanModel.new(plan_hash)
20 end
updated_at=(updated_at_str) click to toggle source
   # File lib/blazingdocs/models/account_model.rb
34 def updated_at=(updated_at_str)
35   @updated_at = if !updated_at_str.nil?
36                   DateTime.iso8601(updated_at_str)
37                 else
38                   nil
39                 end
40 end