Sha256: a418a1b997dc6f8f13bc58275bd6af97c7eb32d89c4824dfe3d9b01d7cc3a3e2

Contents?: true

Size: 463 Bytes

Versions: 2

Compression:

Stored size: 463 Bytes

Contents

module SlidePay
  class PostReport < Report
    def initialize(options={})
      @report_type = :post

      super(options)
    end

    private

    def data_from_sfa(options={})
      return {
        csv:            options[:csv] || false,
        email_address:  options[:email_address] || nil,
        html:           options[:html] || false,
        raw_data:       options[:raw_data] || true,
        sfa:            @sfa
      }.to_json
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slidepay-0.0.13 lib/slidepay/reports/post_report.rb
slidepay-0.0.12 lib/slidepay/reports/post_report.rb