Class: Latitude::API::Objects::Role
- Defined in:
- lib/latitude/api/objects.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #created_at ⇒ Time readonly
- #id ⇒ String readonly
- #name ⇒ String readonly
- #updated_at ⇒ Time readonly
Attributes inherited from APIObject
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
Methods included from Attributes::ClassMethods
Methods included from Attributes::InstanceMethods
#attribute_spec, #read_attribute, #wrap_attribute
Constructor Details
This class inherits a constructor from Latitude::API::APIObject
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 (readonly)
103 104 105 106 107 108 |
# File 'lib/latitude/api/objects.rb', line 103 class Role < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :created_at, :time, read_only: true attribute :updated_at, :time, read_only: true end |
#id ⇒ String (readonly)
103 104 105 106 107 108 |
# File 'lib/latitude/api/objects.rb', line 103 class Role < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :created_at, :time, read_only: true attribute :updated_at, :time, read_only: true end |
#name ⇒ String (readonly)
103 104 105 106 107 108 |
# File 'lib/latitude/api/objects.rb', line 103 class Role < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :created_at, :time, read_only: true attribute :updated_at, :time, read_only: true end |
#updated_at ⇒ Time (readonly)
103 104 105 106 107 108 |
# File 'lib/latitude/api/objects.rb', line 103 class Role < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :created_at, :time, read_only: true attribute :updated_at, :time, read_only: true end |