Class: Braintree::Discount

Inherits:
Modification show all
Defined in:
lib/braintree/discount.rb

Instance Attribute Summary

Attributes inherited from Modification

#amount, #created_at, #current_billing_cycle, #description, #id, #kind, #merchant_id, #name, #never_expires, #number_of_billing_cycles, #quantity, #updated_at

Class Method Summary collapse

Methods inherited from Modification

_new, #initialize, #never_expires?

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

This class inherits a constructor from Braintree::Modification

Class Method Details

.allObject



4
5
6
# File 'lib/braintree/discount.rb', line 4

def self.all
  Configuration.gateway.discount.all
end