Class: CBTRUBY::CbtClient::ScreenshotHistory
- Inherits:
-
Object
- Object
- CBTRUBY::CbtClient::ScreenshotHistory
- Defined in:
- lib/cbt_ruby/screenshot_history.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ ScreenshotHistory
constructor
A new instance of ScreenshotHistory.
- #list(params: nil) ⇒ Object
Constructor Details
#initialize(client:) ⇒ ScreenshotHistory
Returns a new instance of ScreenshotHistory.
3 4 5 |
# File 'lib/cbt_ruby/screenshot_history.rb', line 3 def initialize(client:) @client = client end |
Instance Method Details
#list(params: nil) ⇒ Object
7 8 9 |
# File 'lib/cbt_ruby/screenshot_history.rb', line 7 def list(params: nil) @client.basic_request(url: 'screenshots', data: params) end |