Class: Screenbeacon::Test
- Inherits:
-
APIResource
- Object
- ScreenbeaconObject
- APIResource
- Screenbeacon::Test
- Defined in:
- lib/screenbeacon/test.rb
Instance Method Summary collapse
Methods included from APIOperations::List
Methods included from APIOperations::Delete
Methods included from APIOperations::Update
Methods included from APIOperations::Create
Methods inherited from APIResource
class_name, #refresh, retrieve, url, #url
Methods included from APIOperations::Request
Methods inherited from ScreenbeaconObject
#[], #[]=, #_dump, _load, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #respond_to?, #serialize_nested_object, serialize_params, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Screenbeacon::ScreenbeaconObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Screenbeacon::ScreenbeaconObject
Instance Method Details
#pause(opts = {}) ⇒ Object
18 19 20 21 |
# File 'lib/screenbeacon/test.rb', line 18 def pause(opts={}) response, opts = request(:patch, pause_url, {}, opts) refresh_from(response, opts) end |
#resolve(opts = {}) ⇒ Object
8 9 10 11 |
# File 'lib/screenbeacon/test.rb', line 8 def resolve(opts={}) response, opts = request(:patch, resolve_url, {}, opts) refresh_from(response, opts) end |
#run(opts = {}) ⇒ Object
13 14 15 16 |
# File 'lib/screenbeacon/test.rb', line 13 def run(opts={}) response, opts = request(:patch, run_url, {}, opts) refresh_from(response, opts) end |