Module: Bearcat::Client::Outcomes

Included in:
Bearcat::Client
Defined in:
lib/bearcat/client/outcomes.rb

Instance Method Summary collapse

Instance Method Details

#show_outcome(id) ⇒ Object



5
6
7
# File 'lib/bearcat/client/outcomes.rb', line 5

def show_outcome(id)
  get("/api/v1/outcomes/#{id}")
end

#update_outcome(id, params = {}) ⇒ Object



9
10
11
# File 'lib/bearcat/client/outcomes.rb', line 9

def update_outcome(id, params={})
  put("/api/v1/outcomes/#{id}", params)
end