lib/firstgiving/donation.rb in firstgiving-1.0.0 vs lib/firstgiving/donation.rb in firstgiving-1.0.1
- old
+ new
@@ -1,17 +1,15 @@
require 'crack'
module FirstGiving
-
class Donation
-
include Base
module Actions
- CREDITCARD = "/donation/creditcard"
- RECURRING_CREDITCARD_PROFILE = "/donation/recurringcreditcardprofile"
- VERIFY = "/verify"
+ CREDITCARD = '/donation/creditcard'
+ RECURRING_CREDITCARD_PROFILE = '/donation/recurringcreditcardprofile'
+ VERIFY = '/verify'
end
def initialize
@api_endpoint = DONATION_PRODUCTION_ENDPOINT
@api_endpoint = DONATION_SANDBOX_ENDPOINT if FirstGiving.configuration.options[:use_staging]
@@ -37,8 +35,6 @@
def parse(body)
Crack::XML.parse(body)
end
end
-
end
-