Sha256: 1a82526fae5fc1c220fe39112ca23f6981b2882e04abd8d72a1ca0b27c223367

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

module Paymill
  class Transaction
    include Paymill::Operations::All
    include Paymill::Operations::Create
    include Paymill::Operations::Find

    attr_accessor :id, :amount, :status, :description, :livemode,
                  :payment, :client, :created_at, :updated_at

    def initialize(attributes = {})
      attributes.each_pair do |key, value|
        instance_variable_set("@#{key}", value)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paymill-0.1.0 lib/paymill/transaction.rb