lib/braintree/gateway.rb in braintree-2.11.0 vs lib/braintree/gateway.rb in braintree-2.12.0
- old
+ new
@@ -10,19 +10,31 @@
else
raise ArgumentError, "config is an invalid type"
end
end
+ def add_on
+ AddOnGateway.new(self)
+ end
+
def address
AddressGateway.new(self)
end
def credit_card
CreditCardGateway.new(self)
end
def customer
CustomerGateway.new(self)
+ end
+
+ def discount
+ DiscountGateway.new(self)
+ end
+
+ def plan
+ PlanGateway.new(self)
end
def settlement_batch_summary
SettlementBatchSummaryGateway.new(self)
end