class ATS::AMP4E::Events

Attributes

api[R]

Public Class Methods

new(api) click to toggle source
# File lib/ats/amp4e/events.rb, line 6
def initialize(api)
  @api = api
end

Public Instance Methods

list() click to toggle source
# File lib/ats/amp4e/events.rb, line 10
def list
  api.get("events")
end
types() click to toggle source
# File lib/ats/amp4e/events.rb, line 14
def types
  api.get("event_types")
end