Class: Printavo::Config
- Inherits:
-
Object
- Object
- Printavo::Config
- Defined in:
- lib/printavo/config.rb
Constant Summary collapse
- BASE_URL =
'https://www.printavo.com/api/v2'
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#email ⇒ Object
Returns the value of attribute email.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
6 7 8 |
# File 'lib/printavo/config.rb', line 6 def base_url @base_url end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/printavo/config.rb', line 6 def email @email end |
#timeout ⇒ Object
Returns the value of attribute timeout.
6 7 8 |
# File 'lib/printavo/config.rb', line 6 def timeout @timeout end |
#token ⇒ Object
Returns the value of attribute token.
6 7 8 |
# File 'lib/printavo/config.rb', line 6 def token @token end |