class Fomo::Event

Included Modules

Defined in:

fomo/methods/core/events/create_event.cr
fomo/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

Class Method Summary

Instance Method Summary

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 #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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 #

[View source]

Class Method Detail

def self.delete(id : Int32) #

[View source]
def self.retrieve_event(id : Int32) #

[View source]
def self.retrieve_events(size : Int32, page : Int32) #

[View source]
def self.retrieve_events_with_meta(size : Int32, page : Int32) #

[View source]
def self.search_event(field : String, q : String) #

[View source]

Instance Method Detail

def application_id : Int32 | Nil #

[View source]
def city : String | Nil #

[View source]
def country : String | Nil #

[View source]
def created_at : Time | Nil #

[View source]
def created_at_to_seconds_from_epoch : Time | Nil #

[View source]
def custom_event_fields_attributes : String | Array(Fomo::CustomEventFieldsAttributes) | Nil #

[View source]
def event_type_id : Int32 | Nil #

[View source]
def external_id : String | Nil #

[View source]
def first_name : String | Nil #

[View source]
def id : Int32 #

[View source]
def image_url : String | Nil #

[View source]
def link : String | Nil #

[View source]
def message : String | Nil #

[View source]
def title : String | Nil #

[View source]
def url : String | Nil #

[View source]