Module: Hoolp
- Defined in:
- lib/hoolp.rb,
lib/hoolp/client.rb,
lib/hoolp/version.rb,
lib/hoolp/api_error.rb,
lib/hoolp/resource/event.rb
Defined Under Namespace
Modules: Resource
Classes: ApiError, Client
Constant Summary
collapse
- VERSION =
"0.1.0".freeze
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.new(api_key:) ⇒ Object
11
12
13
|
# File 'lib/hoolp.rb', line 11
def new(api_key:)
@client = Client.new(api_key: api_key)
end
|
Instance Method Details
#events(location_id:) ⇒ Object
16
17
18
|
# File 'lib/hoolp.rb', line 16
def events(location_id:)
@client.events(location_id: location_id)
end
|