class DDAPI::App

A Class that is bundled with an API key and a User Agent. Base of gem.

Attributes

api_key[RW]

@return [String] The api key of the instance.

user_agent[RW]

@return [String] The user agent of the instance.

Public Class Methods

new(api_key, user_agent) click to toggle source
# File lib/dd-api/classes.rb, line 18
def initialize(api_key, user_agent)
    @api_key = api_key
    @user_agent = user_agent
end