Class: CBTRUBY::CbtClient::ScreenshotHistory

Inherits:
Object
  • Object
show all
Defined in:
lib/cbt_ruby/screenshot_history.rb

Instance Method Summary collapse

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