Class: Seatsio::EventLogClient

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/event_log.rb

Instance Method Summary collapse

Constructor Details

#initialize(http_client) ⇒ EventLogClient

Returns a new instance of EventLogClient.



11
12
13
# File 'lib/seatsio/event_log.rb', line 11

def initialize(http_client)
  @http_client = http_client
end

Instance Method Details

#list(filter: nil) ⇒ Object



15
16
17
18
19
# File 'lib/seatsio/event_log.rb', line 15

def list(filter: nil)
  extended_cursor = cursor
  extended_cursor.set_query_param('filter', filter)
  extended_cursor
end