Class: Platformx::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/platformx/configuration.rb', line 14

def initialize
  #Example:
  @bugsnag_api_key = ""
  @mail_from = ""
  @mail_address = "smtp.mailgun.org"
  @mail_port = "587"
  @mail_domain = "smtp.mailgun.org"
  @mail_user_name = ""
  @mail_password = ""
  @mail_authentication = "plain"
end

Instance Attribute Details

#bugsnag_api_keyObject

Returns the value of attribute bugsnag_api_key.



4
5
6
# File 'lib/platformx/configuration.rb', line 4

def bugsnag_api_key
  @bugsnag_api_key
end

#mail_addressObject

Returns the value of attribute mail_address.



6
7
8
# File 'lib/platformx/configuration.rb', line 6

def mail_address
  @mail_address
end

#mail_authenticationObject

Returns the value of attribute mail_authentication.



11
12
13
# File 'lib/platformx/configuration.rb', line 11

def mail_authentication
  @mail_authentication
end

#mail_domainObject

Returns the value of attribute mail_domain.



8
9
10
# File 'lib/platformx/configuration.rb', line 8

def mail_domain
  @mail_domain
end

#mail_fromObject

Returns the value of attribute mail_from.



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

def mail_from
  @mail_from
end

#mail_passwordObject

Returns the value of attribute mail_password.



10
11
12
# File 'lib/platformx/configuration.rb', line 10

def mail_password
  @mail_password
end

#mail_portObject

Returns the value of attribute mail_port.



7
8
9
# File 'lib/platformx/configuration.rb', line 7

def mail_port
  @mail_port
end

#mail_user_nameObject

Returns the value of attribute mail_user_name.



9
10
11
# File 'lib/platformx/configuration.rb', line 9

def mail_user_name
  @mail_user_name
end