class Radar::Event
Constants
- RESOURCE_NAME
Public Class Methods
all(params: nil)
click to toggle source
# File lib/radar/event.rb, line 5 def self.all(params: nil) path = resource_base_path response = api_client.get(path, params: params) api_client.parsed_response(response, object_class: self) end
find(id:, params: nil)
click to toggle source
# File lib/radar/event.rb, line 11 def self.find(id:, params: nil) path = [resource_base_path, id].join('/') response = api_client.get(path) api_client.parsed_response(response, object_class: self) end