Class: HeyYou::Config::Nexmo
- Inherits:
-
Object
- Object
- HeyYou::Config::Nexmo
- Extended by:
- Configurable
- Defined in:
- lib/hey_you/config/nexmo.rb
Constant Summary collapse
- DEFAULTS =
{ is_unicode: false, status_report_req: false, ttl: 259200000 # 72 hours }.freeze
Instance Attribute Summary collapse
-
#callback ⇒ Object
Returns the value of attribute callback.
-
#client ⇒ Object
Returns the value of attribute client.
-
#from ⇒ Object
Returns the value of attribute from.
-
#is_unicode ⇒ Object
Returns the value of attribute is_unicode.
-
#response_handler ⇒ Object
Returns the value of attribute response_handler.
-
#status_report_req ⇒ Object
Returns the value of attribute status_report_req.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
Instance Method Summary collapse
-
#initialize ⇒ Nexmo
constructor
A new instance of Nexmo.
Constructor Details
Instance Attribute Details
#callback ⇒ Object
Returns the value of attribute callback.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def callback @callback end |
#client ⇒ Object
Returns the value of attribute client.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def client @client end |
#from ⇒ Object
Returns the value of attribute from.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def from @from end |
#is_unicode ⇒ Object
Returns the value of attribute is_unicode.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def is_unicode @is_unicode end |
#response_handler ⇒ Object
Returns the value of attribute response_handler.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def response_handler @response_handler end |
#status_report_req ⇒ Object
Returns the value of attribute status_report_req.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def status_report_req @status_report_req end |
#ttl ⇒ Object
Returns the value of attribute ttl.
13 14 15 |
# File 'lib/hey_you/config/nexmo.rb', line 13 def ttl @ttl end |