Class: AwsSnsKit::Configuration
- Inherits:
-
Object
- Object
- AwsSnsKit::Configuration
- Defined in:
- lib/aws_sns_kit/configuration.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#end_point(platform) ⇒ Object
Returns the value of attribute end_point.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/aws_sns_kit/configuration.rb', line 7 def initialize @access_key_id = nil @secret_access_key = nil @region = 'us-east-1' @end_point = { apns: '', apns_sandbox: '', gcm: '' } end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
5 6 7 |
# File 'lib/aws_sns_kit/configuration.rb', line 5 def access_key_id @access_key_id end |
#end_point(platform) ⇒ Object
Returns the value of attribute end_point.
5 6 7 |
# File 'lib/aws_sns_kit/configuration.rb', line 5 def end_point @end_point end |
#region ⇒ Object
Returns the value of attribute region.
5 6 7 |
# File 'lib/aws_sns_kit/configuration.rb', line 5 def region @region end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
5 6 7 |
# File 'lib/aws_sns_kit/configuration.rb', line 5 def secret_access_key @secret_access_key end |