Class: Beepsend::Configuration
- Inherits:
-
Object
- Object
- Beepsend::Configuration
- Defined in:
- lib/beepsend/configuration.rb
Instance Attribute Summary collapse
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#from ⇒ Object
Returns the value of attribute from.
-
#receive_dlr ⇒ Object
Returns the value of attribute receive_dlr.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/beepsend/configuration.rb', line 5 def initialize @endpoint = 'https://api.beepsend.com/2/send/' @encoding = 'UTF-8' @receive_dlr = 0 end |
Instance Attribute Details
#encoding ⇒ Object
Returns the value of attribute encoding.
3 4 5 |
# File 'lib/beepsend/configuration.rb', line 3 def encoding @encoding end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
3 4 5 |
# File 'lib/beepsend/configuration.rb', line 3 def endpoint @endpoint end |
#from ⇒ Object
Returns the value of attribute from.
3 4 5 |
# File 'lib/beepsend/configuration.rb', line 3 def from @from end |
#receive_dlr ⇒ Object
Returns the value of attribute receive_dlr.
3 4 5 |
# File 'lib/beepsend/configuration.rb', line 3 def receive_dlr @receive_dlr end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/beepsend/configuration.rb', line 3 def token @token end |