class TheAdmin::Configuration

TheAdmin configuration class.

@author Tim Mushen

Attributes

aws_access_key_id[RW]

Controls the aws access key id @return [String] the aws access key id

aws_bucket[RW]

Controls the aws bucket name @return [String] aws bucket name

aws_region[RW]

Controls the aws region @return [String] aws region

aws_secret_access_key[RW]

Controls the aws secret access key @return [String] the aws secret access key

mail_address[RW]

Controls the mail address @return [String] the mail address

mail_authentication[RW]

Controls mail authentication @return [String] mail authentication

mail_domain[RW]

Controls the mail domain @return [String] the mail domain

mail_from[RW]

Controls the mail from @return [String] the mail from

mail_password[RW]

Controls the mail password @return [String] the mail password

mail_port[RW]

Controls the mail port number @return [String] the mail port number

mail_user_name[RW]

Controls the mail user name @return [String] the mail user name

Public Class Methods

new() click to toggle source

Initialize TheAdmin configuration object and set defaults

# File lib/the-admin.rb, line 102
def initialize
  # Bugsnag
  # @bugsnag_api_key = ""
  
  # X_mail
  @mail_from = ""
  @mail_address = "smtp.mailgun.org"
  @mail_port = "587"
  @mail_domain = "smtp.mailgun.org"
  @mail_user_name = ""
  @mail_password = ""
  @mail_authentication = "plain"

  # For AWS/Fog
  @aws_bucket = ""
  @aws_secret_access_key = ""
  @aws_access_key_id = ""
  @aws_region = ""
end