Class: DatadogProxy::DatadogClient

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog_proxy/datadog_client.rb

Defined Under Namespace

Classes: Error

Instance Method Summary collapse

Constructor Details

#initialize(api_key, app_key) ⇒ DatadogClient

Returns a new instance of DatadogClient.



10
11
12
# File 'lib/datadog_proxy/datadog_client.rb', line 10

def initialize(api_key, app_key)
  @client = Dogapi::Client.new(api_key, app_key)
end

Instance Method Details

#graph_snapshot_url(options) ⇒ Object



14
15
16
# File 'lib/datadog_proxy/datadog_client.rb', line 14

def graph_snapshot_url(options)
  _graph_snapshot_url(options)
end