Class: Xignite::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/xignite/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/xignite/configuration.rb', line 3

def endpoint
  @endpoint
end

#httpsObject

Returns the value of attribute https.



3
4
5
# File 'lib/xignite/configuration.rb', line 3

def https
  @https
end

#request_methodObject

Returns the value of attribute request_method.



3
4
5
# File 'lib/xignite/configuration.rb', line 3

def request_method
  @request_method
end

#usernameObject

Returns the value of attribute username.



3
4
5
# File 'lib/xignite/configuration.rb', line 3

def username
  @username
end