Class: AtomparkSmsApi::Configuration
- Inherits:
-
Object
- Object
- AtomparkSmsApi::Configuration
- Defined in:
- lib/atompark-sms-api/configuration.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#pubkey ⇒ Object
Returns the value of attribute pubkey.
-
#pvtkey ⇒ Object
Returns the value of attribute pvtkey.
-
#sender ⇒ Object
Returns the value of attribute sender.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 |
# File 'lib/atompark-sms-api/configuration.rb', line 13 def initialize @pubkey = '' @pvtkey = '' @sender = '' @base_url = 'http://api.atompark.com/sms/3.0/' end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
11 12 13 |
# File 'lib/atompark-sms-api/configuration.rb', line 11 def base_url @base_url end |
#pubkey ⇒ Object
Returns the value of attribute pubkey.
11 12 13 |
# File 'lib/atompark-sms-api/configuration.rb', line 11 def pubkey @pubkey end |
#pvtkey ⇒ Object
Returns the value of attribute pvtkey.
11 12 13 |
# File 'lib/atompark-sms-api/configuration.rb', line 11 def pvtkey @pvtkey end |
#sender ⇒ Object
Returns the value of attribute sender.
11 12 13 |
# File 'lib/atompark-sms-api/configuration.rb', line 11 def sender @sender end |