Sha256: aff2ac9fb263a12e1f8d7ede06d8bbd3e02cc9efff6f844840bcf3ce2d91031e

Contents?: true

Size: 325 Bytes

Versions: 8

Compression:

Stored size: 325 Bytes

Contents

module Finix
  class Authorization
    include Finix::Resource
    include Finix::HypermediaRegistry

    define_hypermedia_types [:authorizations]

    def void
      self.void_me = true
      self.save
    end

    def capture(attrs={})
      self.attributes = self.attributes.merge attrs
      self.save
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
finix-0.15 lib/finix/resources/authorization.rb
finix-0.14 lib/finix/resources/authorization.rb
finix-0.13 lib/finix/resources/authorization.rb
finix-0.12 lib/finix/resources/authorization.rb
finix-0.11 lib/finix/resources/authorization.rb
finix-0.10 lib/finix/resources/authorization.rb
finix-0.9 lib/finix/resources/authorization.rb
finix-0.8 lib/finix/resources/authorization.rb