Class: Queenbee::Event

Inherits:
APIResource show all
Extended by:
APIOperations::Get
Includes:
APIOperations::Create
Defined in:
lib/queenbee/event.rb

Class Method Summary collapse

Methods included from APIOperations::Get

get

Methods included from APIOperations::Create

included

Methods inherited from APIResource

class_name, url, #url

Class Method Details

.all(**opts) ⇒ Object



6
7
8
# File 'lib/queenbee/event.rb', line 6

def self.all(**opts)
  Queenbee::Metrics.get("/events?page=#{opts[:page] || 1}")
end