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



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

#apiversionObject

Returns the value of attribute apiversion.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def apiversion
  @apiversion
end

#formatObject

Returns the value of attribute format.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def format
  @format
end

#hostObject

Returns the value of attribute host.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def host
  @host
end

#passkeyObject

Returns the value of attribute passkey.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def passkey
  @passkey
end

#protocolObject

Returns the value of attribute protocol.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def protocol
  @protocol
end

#resourceObject

Returns the value of attribute resource.



45
46
47
# File 'lib/bazaar_voice.rb', line 45

def resource
  @resource
end