Class: ChannelAdvisor::StoreServiceSOAP::SearchPhraseOccurrence

Inherits:
Object
  • Object
show all
Defined in:
lib/channel_advisor/store_service/types.rb

Overview

http://api.channeladvisor.com/webservices/SearchPhraseOccurrence

phrase - SOAP::SOAPString
count - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(phrase = nil, count = nil) ⇒ SearchPhraseOccurrence

Returns a new instance of SearchPhraseOccurrence


58
59
60
61
# File 'lib/channel_advisor/store_service/types.rb', line 58

def initialize(phrase = nil, count = nil)
  @phrase = phrase
  @count = count
end

Instance Attribute Details

#countObject

Returns the value of attribute count


56
57
58
# File 'lib/channel_advisor/store_service/types.rb', line 56

def count
  @count
end

#phraseObject

Returns the value of attribute phrase


55
56
57
# File 'lib/channel_advisor/store_service/types.rb', line 55

def phrase
  @phrase
end