Class: Dato::Account::Repo::DeployEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/dato/account/repo/deploy_event.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dato::Account::Repo::Base

Instance Method Details

#allObject



8
9
10
# File 'lib/dato/account/repo/deploy_event.rb', line 8

def all
  get_request '/deploy-events'
end

#find(deploy_event_id) ⇒ Object



12
13
14
# File 'lib/dato/account/repo/deploy_event.rb', line 12

def find(deploy_event_id)
  get_request "/deploy-events/#{deploy_event_id}"
end