Class: BazaarVoice::Configuration
- Inherits:
-
Object
- Object
- BazaarVoice::Configuration
- Defined in:
- lib/bazaar_voice.rb
Instance Attribute Summary collapse
-
#apiversion ⇒ Object
Returns the value of attribute apiversion.
-
#format ⇒ Object
Returns the value of attribute format.
-
#host ⇒ Object
Returns the value of attribute host.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#passkey ⇒ Object
Returns the value of attribute passkey.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
70 71 72 73 74 75 76 |
# File 'lib/bazaar_voice.rb', line 70 def initialize @apiversion = '5.4' @host = 'api.bazaarvoice.com' @protocol = 'https' @format = 'json' @logger = $stdout end |
Instance Attribute Details
#apiversion ⇒ Object
Returns the value of attribute apiversion.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def apiversion @apiversion end |
#format ⇒ Object
Returns the value of attribute format.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def format @format end |
#host ⇒ Object
Returns the value of attribute host.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def host @host end |
#logger ⇒ Object
Returns the value of attribute logger.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def logger @logger end |
#passkey ⇒ Object
Returns the value of attribute passkey.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def passkey @passkey end |
#protocol ⇒ Object
Returns the value of attribute protocol.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def protocol @protocol end |
#resource ⇒ Object
Returns the value of attribute resource.
69 70 71 |
# File 'lib/bazaar_voice.rb', line 69 def resource @resource end |