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.
-
#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
46 47 48 49 50 51 |
# File 'lib/bazaar_voice.rb', line 46 def initialize @apiversion = '5.4' @host = 'api.bazaarvoice.com' @protocol = 'https' @format = 'json' end |
Instance Attribute Details
#apiversion ⇒ Object
Returns the value of attribute apiversion.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def apiversion @apiversion end |
#format ⇒ Object
Returns the value of attribute format.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def format @format end |
#host ⇒ Object
Returns the value of attribute host.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def host @host end |
#passkey ⇒ Object
Returns the value of attribute passkey.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def passkey @passkey end |
#protocol ⇒ Object
Returns the value of attribute protocol.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def protocol @protocol end |
#resource ⇒ Object
Returns the value of attribute resource.
45 46 47 |
# File 'lib/bazaar_voice.rb', line 45 def resource @resource end |