Class: Xignite::Configuration
- Inherits:
-
Object
- Object
- Xignite::Configuration
- Defined in:
- lib/xignite/configuration.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#https ⇒ Object
Returns the value of attribute https.
-
#request_method ⇒ Object
Returns the value of attribute request_method.
-
#username ⇒ Object
Returns the value of attribute username.
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 |
# File 'lib/xignite/configuration.rb', line 5 def initialize self.endpoint = Xignite::URL self.request_method = :get end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
3 4 5 |
# File 'lib/xignite/configuration.rb', line 3 def endpoint @endpoint end |
#https ⇒ Object
Returns the value of attribute https.
3 4 5 |
# File 'lib/xignite/configuration.rb', line 3 def https @https end |
#request_method ⇒ Object
Returns the value of attribute request_method.
3 4 5 |
# File 'lib/xignite/configuration.rb', line 3 def request_method @request_method end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/xignite/configuration.rb', line 3 def username @username end |