Class: Latitude::API::Resources::Event
- Inherits:
-
APIResource
- Object
- APIResource
- Latitude::API::Resources::Event
- Extended by:
- Operations::List
- Defined in:
- lib/latitude/api/resources/event.rb
Defined Under Namespace
Constant Summary
Constants inherited from APIResource
APIResource::READ_ONLY_ATTRIBUTES
Instance Attribute Summary collapse
- #action ⇒ String
- #author ⇒ Author
- #created_at ⇒ Time readonly
- #project ⇒ Latitude::API::Objects::Project
- #target ⇒ Target
- #team ⇒ Latitude::API::Objects::Team
Attributes inherited from APIResource
#id, #meta, #path_params, #raw_data, #type
Method Summary
Methods included from Operations::List
Methods inherited from APIResource
#==, #[], #[]=, #as_json, #attributes, #changed?, class_url, config_source, construct_from, #delete, execute_request, extract_path_params, #hash, id_prefix, #initialize, #inspect, instance_url, #method_missing, path_param_keys, #refresh, resource_path, resource_type, #resource_url, #respond_to_missing?, #save, #to_h, #unsaved_attributes, with_config, #write_attribute
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::APIResource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Latitude::API::APIResource
Instance Attribute Details
#action ⇒ String
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |
#author ⇒ Author
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |
#created_at ⇒ Time (readonly)
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |
#project ⇒ Latitude::API::Objects::Project
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |
#target ⇒ Target
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |
#team ⇒ Latitude::API::Objects::Team
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/latitude/api/resources/event.rb', line 18 class Event < APIResource # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] class Target < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true end # @!attribute [r] id # @return [String] # @!attribute [r] name # @return [String] # @!attribute [r] email # @return [String] class Author < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :email, :string, read_only: true end attribute :created_at, :time, read_only: true attribute :action, :string attribute :target, Target attribute :project, Objects::Project attribute :team, Objects::Team attribute :author, Author resource_type "events" resource_path "/events" id_prefix "evt_" extend Operations::List end |