Module: TorgMailruApi::Configuration

Included in:
TorgMailruApi
Defined in:
lib/torg_mailru_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



13
14
15
# File 'lib/torg_mailru_api.rb', line 13

def access_token
  @access_token
end

#adapterObject

Returns the value of attribute adapter.



13
14
15
# File 'lib/torg_mailru_api.rb', line 13

def adapter
  @adapter
end

#cacheObject

Returns the value of attribute cache.



13
14
15
# File 'lib/torg_mailru_api.rb', line 13

def cache
  @cache
end

#loggerObject

Returns the value of attribute logger.



13
14
15
# File 'lib/torg_mailru_api.rb', line 13

def logger
  @logger
end

#proxyObject

Returns the value of attribute proxy.



13
14
15
# File 'lib/torg_mailru_api.rb', line 13

def proxy
  @proxy
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



14
15
16
# File 'lib/torg_mailru_api.rb', line 14

def configure
  yield self
end