Class: MotionOcean::Resource::Action
- Inherits:
-
Object
- Object
- MotionOcean::Resource::Action
- Includes:
- Base
- Defined in:
- lib/motion_ocean/resource/action.rb
Constant Summary
Constants included from Base
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#all(&block) ⇒ Object
6 7 8 |
# File 'lib/motion_ocean/resource/action.rb', line 6 def all(&block) get('actions', &block) end |
#show(action_id, &block) ⇒ Object
10 11 12 |
# File 'lib/motion_ocean/resource/action.rb', line 10 def show(action_id, &block) get("actions/#{action_id}", &block) end |