Class: Barge::Resource::Action

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/barge/resource/action.rb

Constant Summary

Constants included from Base

Base::PER_PAGE

Instance Attribute Summary

Attributes included from Base

#faraday

Instance Method Summary collapse

Methods included from Base

#initialize

Instance Method Details

#all(options = {}) ⇒ Object



6
7
8
# File 'lib/barge/resource/action.rb', line 6

def all(options = {})
  get('actions', options)
end

#show(action_id) ⇒ Object



10
11
12
# File 'lib/barge/resource/action.rb', line 10

def show(action_id)
  get("actions/#{action_id}")
end