Class: Emites::Configuration
- Inherits:
-
Object
- Object
- Emites::Configuration
- Defined in:
- lib/emites/configuration.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/emites/configuration.rb', line 7 def initialize @url = "https://app.emites.com.br/api/v1" @user_agent = "Emites Ruby Client v#{Emites::VERSION}" end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/emites/configuration.rb', line 5 def url @url end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
5 6 7 |
# File 'lib/emites/configuration.rb', line 5 def user_agent @user_agent end |