Class: LiveQA::Event
- Inherits:
-
APIResource
- Object
- LiveQAObject
- APIResource
- LiveQA::Event
- Includes:
- APIOperation::Save
- Defined in:
- lib/liveqa/event.rb
Overview
LiveQA Event
@example: Usage
request = LiveQA::Event.create('Event Name') #=> #<LiveQA::Response...>
Instance Attribute Summary
Attributes inherited from LiveQAObject
#accepted, #data, #errors, #raw
Class Method Summary collapse
Methods included from APIOperation::Save
Methods inherited from APIResource
class_name, #request, request, #resource_name, resource_name, resource_path, #resource_path
Methods inherited from LiveQAObject
#[], #[]=, #add_data, #initialize, initialize_from, #keys, #to_hash, #to_json, #update_attributes
Constructor Details
This class inherits a constructor from LiveQA::LiveQAObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class LiveQA::LiveQAObject
Class Method Details
.build_payload(payload) ⇒ Object
14 15 16 17 18 |
# File 'lib/liveqa/event.rb', line 14 def build_payload(payload) Message .to_h .merge(payload) end |