Class: Mailgems::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mailgems/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
# File 'lib/mailgems/configuration.rb', line 7

def initialize
  @api_key = nil
  @sandbox = false
  @api_version = 'v1'
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/mailgems/configuration.rb', line 5

def api_key
  @api_key
end

#api_versionObject

Returns the value of attribute api_version.



5
6
7
# File 'lib/mailgems/configuration.rb', line 5

def api_version
  @api_version
end

#sandboxObject

Returns the value of attribute sandbox.



5
6
7
# File 'lib/mailgems/configuration.rb', line 5

def sandbox
  @sandbox
end