lib/firstgiving/lookup.rb in firstgiving-1.0.0 vs lib/firstgiving/lookup.rb in firstgiving-1.0.1
- old
+ new
@@ -1,17 +1,15 @@
require 'crack'
# lookup API
module FirstGiving
-
class Lookup
-
include Base
module Actions
- TRANSACTION_LIST = "/transaction/list"
- TRANSACTION_DETAIL = "/transaction/detail"
+ TRANSACTION_LIST = '/transaction/list'
+ TRANSACTION_DETAIL = '/transaction/detail'
end
def initialize
@api_endpoint = DONATION_PRODUCTION_ENDPOINT
@api_endpoint = DONATION_SANDBOX_ENDPOINT if FirstGiving.configuration.options[:use_staging]
@@ -36,7 +34,6 @@
def parse(body)
Crack::XML.parse(body)
end
end
-
end