lyang/braintree-rails

View on GitHub
lib/braintree_rails/modifications.rb

Summary

Maintainability
A
0 mins
Test Coverage
module BraintreeRails
  class Modifications < SimpleDelegator
    include CollectionAssociation
    not_supported_apis(:build)

    def initialize(parent)
      super(parent.raw_object.send(self.class.name.demodulize.underscore))
    end
  end
end