Class: Platformx::Configuration

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

Overview

Start Configuration Class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/platformx.rb', line 78

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

Instance Attribute Details

#aws_access_key_idObject

Returns the value of attribute aws_access_key_id.



74
75
76
# File 'lib/platformx.rb', line 74

def aws_access_key_id
  @aws_access_key_id
end

#aws_bucketObject

For AWS/Fog



73
74
75
# File 'lib/platformx.rb', line 73

def aws_bucket
  @aws_bucket
end

#aws_regionObject

Returns the value of attribute aws_region.



76
77
78
# File 'lib/platformx.rb', line 76

def aws_region
  @aws_region
end

#aws_secret_access_keyObject

Returns the value of attribute aws_secret_access_key.



75
76
77
# File 'lib/platformx.rb', line 75

def aws_secret_access_key
  @aws_secret_access_key
end

#bugsnag_api_keyObject

For Bugsnag



61
62
63
# File 'lib/platformx.rb', line 61

def bugsnag_api_key
  @bugsnag_api_key
end

#mail_addressObject

Returns the value of attribute mail_address.



65
66
67
# File 'lib/platformx.rb', line 65

def mail_address
  @mail_address
end

#mail_authenticationObject

Returns the value of attribute mail_authentication.



70
71
72
# File 'lib/platformx.rb', line 70

def mail_authentication
  @mail_authentication
end

#mail_domainObject

Returns the value of attribute mail_domain.



67
68
69
# File 'lib/platformx.rb', line 67

def mail_domain
  @mail_domain
end

#mail_fromObject

X_mail



64
65
66
# File 'lib/platformx.rb', line 64

def mail_from
  @mail_from
end

#mail_passwordObject

Returns the value of attribute mail_password.



69
70
71
# File 'lib/platformx.rb', line 69

def mail_password
  @mail_password
end

#mail_portObject

Returns the value of attribute mail_port.



66
67
68
# File 'lib/platformx.rb', line 66

def mail_port
  @mail_port
end

#mail_user_nameObject

Returns the value of attribute mail_user_name.



68
69
70
# File 'lib/platformx.rb', line 68

def mail_user_name
  @mail_user_name
end