Class: BazaarVoice::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#apiversionObject

Returns the value of attribute apiversion.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def apiversion
  @apiversion
end

#formatObject

Returns the value of attribute format.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def format
  @format
end

#hostObject

Returns the value of attribute host.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def host
  @host
end

#loggerObject

Returns the value of attribute logger.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def logger
  @logger
end

#passkeyObject

Returns the value of attribute passkey.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def passkey
  @passkey
end

#protocolObject

Returns the value of attribute protocol.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def protocol
  @protocol
end

#resourceObject

Returns the value of attribute resource.



69
70
71
# File 'lib/bazaar_voice.rb', line 69

def resource
  @resource
end