Class: RubyStackoverflow::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-stackoverflow/configuration.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



4
5
6
# File 'lib/ruby-stackoverflow/configuration.rb', line 4

def access_token
  @access_token
end

#api_urlObject

Returns the value of attribute api_url.



4
5
6
# File 'lib/ruby-stackoverflow/configuration.rb', line 4

def api_url
  @api_url
end

#client_idObject

Returns the value of attribute client_id.



4
5
6
# File 'lib/ruby-stackoverflow/configuration.rb', line 4

def client_id
  @client_id
end

#client_keyObject

Returns the value of attribute client_key.



4
5
6
# File 'lib/ruby-stackoverflow/configuration.rb', line 4

def client_key
  @client_key
end

#client_sceretObject

Returns the value of attribute client_sceret.



4
5
6
# File 'lib/ruby-stackoverflow/configuration.rb', line 4

def client_sceret
  @client_sceret
end

Class Method Details

.api_urlObject



6
7
8
# File 'lib/ruby-stackoverflow/configuration.rb', line 6

def self.api_url
  'https://api.stackexchange.com/2.2/'
end