Class: ContextSearchAssetType

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

Overview

urn:ebay:apis:eBLBaseComponentsContextSearchAssetType

Constant Summary collapse

@@schema_type =
"ContextSearchAssetType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["keyword", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Keyword")]],
  ["category", ["CategoryType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Category")]],
  ["score", ["SOAP::SOAPFloat", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Score")]],
  ["ranking", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Ranking")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyword = nil, category = nil, score = nil, ranking = nil) ⇒ ContextSearchAssetType

Returns a new instance of ContextSearchAssetType.



16637
16638
16639
16640
16641
16642
# File 'lib/eBay.rb', line 16637

def initialize(keyword = nil, category = nil, score = nil, ranking = nil)
  @keyword = keyword
  @category = category
  @score = score
  @ranking = ranking
end

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



16633
16634
16635
# File 'lib/eBay.rb', line 16633

def category
  @category
end

#keywordObject

Returns the value of attribute keyword.



16632
16633
16634
# File 'lib/eBay.rb', line 16632

def keyword
  @keyword
end

#rankingObject

Returns the value of attribute ranking.



16635
16636
16637
# File 'lib/eBay.rb', line 16635

def ranking
  @ranking
end

#scoreObject

Returns the value of attribute score.



16634
16635
16636
# File 'lib/eBay.rb', line 16634

def score
  @score
end