Class: CmSms::Configuration
- Inherits:
-
Object
- Object
- CmSms::Configuration
- Defined in:
- lib/cm_sms/configuration.rb
Defined Under Namespace
Classes: EndpointMissing, PathMissing, ProductTokenMissing
Constant Summary collapse
- ENDPOINT =
'https://sgw01.cm.nl'- PATH =
'/gateway.ashx'
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#from ⇒ Object
Returns the value of attribute from.
-
#path ⇒ Object
Returns the value of attribute path.
-
#product_token ⇒ Object
Returns the value of attribute product_token.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
10 11 12 |
# File 'lib/cm_sms/configuration.rb', line 10 def endpoint @endpoint end |
#from ⇒ Object
Returns the value of attribute from.
10 11 12 |
# File 'lib/cm_sms/configuration.rb', line 10 def from @from end |
#path ⇒ Object
Returns the value of attribute path.
10 11 12 |
# File 'lib/cm_sms/configuration.rb', line 10 def path @path end |
#product_token ⇒ Object
Returns the value of attribute product_token.
10 11 12 |
# File 'lib/cm_sms/configuration.rb', line 10 def product_token @product_token end |
#to ⇒ Object
Returns the value of attribute to.
10 11 12 |
# File 'lib/cm_sms/configuration.rb', line 10 def to @to end |
Instance Method Details
#defaults ⇒ Object
22 23 24 |
# File 'lib/cm_sms/configuration.rb', line 22 def defaults @defaults ||= { from: from, to: to } end |