Module: PewPew::Config

Defined in:
lib/pew_pew/config.rb

Constant Summary collapse

BASE_URI =
'https://api.mailgun.net/v2'
USER_AGENT =
"PewPew Ruby Gem #{PewPew::VERSION}"
USERNAME =
'api'

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

The Mailgun API key used to authenticate requests.

Returns:

  • (String)


9
10
11
# File 'lib/pew_pew/config.rb', line 9

def api_key
  @api_key
end

#domainString

The default domain to use for resources that require a domain.

Returns:

  • (String)


13
14
15
# File 'lib/pew_pew/config.rb', line 13

def domain
  @domain
end