class SentryApi::API
@private
Public Class Methods
new(options={})
click to toggle source
Creates a new API
. @raise [Error:MissingCredentials]
# File lib/sentry-api/api.rb, line 9 def initialize(options={}) options = SentryApi.options.merge(options) (Configuration::VALID_OPTIONS_KEYS).each do |key| send("#{key}=", options[key]) if options[key] end set_request_defaults end