class Wapi::ConditionParser::Waves

Public Class Methods

extract(html) click to toggle source
# File lib/wapi/parsers/waves.rb, line 12
def self.extract html
  {
    size: content_for(html, @xpath[:size]),
    quality: content_for(html, @xpath[:quality]),
    direction: content_for(html, @xpath[:direction])
  }
end