Class: Dustbag::VariationSummary

Inherits:
Object
  • Object
show all
Includes:
Parser::Node
Defined in:
lib/dustbag/variation_summary.rb

Instance Attribute Summary

Attributes included from Parser::Node

#node, #subnodes

Instance Method Summary collapse

Methods included from Parser::Node

included, #initialize, #repeated_subnodes, #repeated_subnodes_text, #subnode, #subnode_text

Instance Method Details

#highest_priceObject



9
10
11
# File 'lib/dustbag/variation_summary.rb', line 9

def highest_price
  Price.parse(subnode('HighestPrice'))
end

#lowest_priceObject



5
6
7
# File 'lib/dustbag/variation_summary.rb', line 5

def lowest_price
  Price.parse(subnode('LowestPrice'))
end