Sha256: 8734fa3e7cab6d82c27cd19484f6a3c377ad83ceb97bd5996fc02acdf94158ea

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

module Paymill
  class Client
    include Paymill::Operations::All
    include Paymill::Operations::Create
    include Paymill::Operations::Delete
    include Paymill::Operations::Find

    attr_accessor :id, :email, :description, :attributes, :created_at,
                  :updated_at, :creditcard, :subscription

    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.0.3 lib/paymill/client.rb