Add naive impl of seeding alerts
This commit is contained in:
@@ -7,6 +7,10 @@ class NpsClient
|
||||
conn.get('parks', { start: offset })
|
||||
end
|
||||
|
||||
def alerts(park_code:, offset: 0)
|
||||
conn.get('alerts', { parkCode: park_code, start: offset })
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def conn
|
||||
|
||||
Reference in New Issue
Block a user