Sha256: 155c9a9d333013dd1c4db6dbbe60956ba1f55689c80c16a31f4a7d4b8ef8f984

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

require 'peddler/parsers/model'

module MWS
  module Reports
    module Parsers
      class ReportSchedule < ::Peddler::Parsers::Model
        value :type do
          text_at_xpath('ReportType')
        end

        value :schedule do
          text_at_xpath('Schedule')
        end

        value :scheduled_at do
          time_at_xpath('ScheduledDate')
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 lib/mws/reports/parsers/report_schedule.rb
peddler-0.6.4 lib/mws/reports/parsers/report_schedule.rb