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'
- DCS =
0
Instance Attribute Summary collapse
-
#dcs ⇒ Object
Returns the value of attribute dcs.
-
#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
#dcs ⇒ Object
Returns the value of attribute dcs.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def dcs @dcs end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def endpoint @endpoint end |
#from ⇒ Object
Returns the value of attribute from.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def from @from end |
#path ⇒ Object
Returns the value of attribute path.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def path @path end |
#product_token ⇒ Object
Returns the value of attribute product_token.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def product_token @product_token end |
#to ⇒ Object
Returns the value of attribute to.
11 12 13 |
# File 'lib/cm_sms/configuration.rb', line 11 def to @to end |
Instance Method Details
#defaults ⇒ Object
27 28 29 |
# File 'lib/cm_sms/configuration.rb', line 27 def defaults @defaults ||= { from: from, to: to, dcs: dcs } end |