Module: NgpVan::Client::EventTypes
- Included in:
- NgpVan::Client
- Defined in:
- lib/ngp_van/client/event_types.rb
Instance Method Summary collapse
Instance Method Details
#event_type(id:, params: {}) ⇒ Object
10 11 12 13 |
# File 'lib/ngp_van/client/event_types.rb', line 10 def event_type(id:, params: {}) verify_id(id) get(path: "events/types/#{id}", params: params) end |
#event_types(params: {}) ⇒ Object
6 7 8 |
# File 'lib/ngp_van/client/event_types.rb', line 6 def event_types(params: {}) get(path: 'events/types', params: params) end |