Class: Latitude::API::Objects::User
Constant Summary
Constants inherited
from APIObject
APIObject::RESERVED
Instance Attribute Summary collapse
Attributes inherited from APIObject
#raw
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIObject
Instance Attribute Details
#created_at ⇒ Time
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
#email ⇒ String
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
#first_name ⇒ String
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
#id ⇒ String
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
#last_name ⇒ String
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|
#updated_at ⇒ Time
205
206
207
208
209
210
211
212
213
|
# File 'lib/latitude/api/objects.rb', line 205
class User < APIObject
attribute :id, :string, read_only: true
attribute :email, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
|