class Fomo::Event
- Fomo::Event
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
fomo/methods/core/events/create_event.crfomo/methods/core/events/delete_event.cr
fomo/methods/core/events/retrieve_event.cr
fomo/methods/core/events/retrieve_events.cr
fomo/methods/core/events/retrieve_events_with_meta.cr
fomo/methods/core/events/search_event.cr
fomo/methods/core/events/update_event.cr
fomo/objects/core/event/event.cr
Constructors
- .create_event(event_type_id : Int32, external_id : String, first_name : String | Nil = nil, email_address : String | Nil = nil, ip_address : String | Nil = nil, city : String | Nil = nil, province : String | Nil = nil, country : String | Nil = nil, title : String | Nil = nil, url : String | Nil = nil, image_url : String | Nil = nil, custom_event_fields_attributes : Array(String) | Nil = nil) : Event forall T, U
- .new(pull : JSON::PullParser)
- .update_event(event_type_id : Int32, external_id : String | Nil = nil, first_name : String | Nil = nil, email_address : String | Nil = nil, ip_address : String | Nil = nil, city : String | Nil = nil, province : String | Nil = nil, country : String | Nil = nil, title : String | Nil = nil, url : String | Nil = nil, image_url : String | Nil = nil, custom_event_fields_attributes : Array(String) | Nil = nil) : Event forall T, U
Class Method Summary
- .delete(id : Int32)
- .retrieve_event(id : Int32)
- .retrieve_events(size : Int32, page : Int32)
- .retrieve_events_with_meta(size : Int32, page : Int32)
- .search_event(field : String, q : String)
Instance Method Summary
- #application_id : Int32 | Nil
- #city : String | Nil
- #country : String | Nil
- #created_at : Time | Nil
- #created_at_to_seconds_from_epoch : Time | Nil
- #custom_event_fields_attributes : String | Array(Fomo::CustomEventFieldsAttributes) | Nil
- #event_type_id : Int32 | Nil
- #external_id : String | Nil
- #first_name : String | Nil
- #id : Int32
- #image_url : String | Nil
- #link : String | Nil
- #message : String | Nil
- #title : String | Nil
- #url : String | Nil
Constructor Detail
def self.create_event(event_type_id : Int32, external_id : String, first_name : String | Nil = nil, email_address : String | Nil = nil, ip_address : String | Nil = nil, city : String | Nil = nil, province : String | Nil = nil, country : String | Nil = nil, title : String | Nil = nil, url : String | Nil = nil, image_url : String | Nil = nil, custom_event_fields_attributes : Array(String) | Nil = nil) : Event forall T, U
#
def self.update_event(event_type_id : Int32, external_id : String | Nil = nil, first_name : String | Nil = nil, email_address : String | Nil = nil, ip_address : String | Nil = nil, city : String | Nil = nil, province : String | Nil = nil, country : String | Nil = nil, title : String | Nil = nil, url : String | Nil = nil, image_url : String | Nil = nil, custom_event_fields_attributes : Array(String) | Nil = nil) : Event forall T, U
#
Class Method Detail
Instance Method Detail
def custom_event_fields_attributes : String | Array(Fomo::CustomEventFieldsAttributes) | Nil
#