Module: Minter::Api::EventsResource

Included in:
Client
Defined in:
lib/minter/api/resources/events_resource.rb

Instance Method Summary collapse

Instance Method Details

#events(height: nil) ⇒ Object



6
7
8
9
10
11
# File 'lib/minter/api/resources/events_resource.rb', line 6

def events(height: nil)
  height ||= 1
  params = { height: height }
  path = "/events"
  get(path, params)
end