Class: FrameIo::CustomAction
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- FrameIo::CustomAction
- Defined in:
- lib/frame_io/custom_action.rb
Class Method Summary collapse
Class Method Details
.all(team:, client:) ⇒ Object
3 4 5 |
# File 'lib/frame_io/custom_action.rb', line 3 def self.all(team:, client:) client.get_resource("teams/#{team.id}/actions", object_class: self) end |
.find(id:, client:) ⇒ Object
7 8 9 |
# File 'lib/frame_io/custom_action.rb', line 7 def self.find(id:, client:) client.get_resource("actions/#{id}", object_class: self) end |