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
# File 'lib/minter/api/resources/events_resource.rb', line 6

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