Class Index [+]

Quicksearch

ActiveMerchant::Billing::Integrations::Dwolla::Notification

Public Instance Methods

acknowledge() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 41
41:           def acknowledge      
42:             true
43:           end
complete?() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 8
 8:           def complete?
 9:             status == "Completed"
10:           end
currency() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 24
24:           def currency
25:             "USD"
26:           end
error() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 32
32:           def error
33:             params['Message']
34:           end
gross() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 28
28:           def gross
29:             params['Amount']
30:           end
item_id() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 20
20:           def item_id
21:             params['OrderId']
22:           end
status() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 12
12:           def status
13:             params["Status"]
14:           end
test?() click to toggle source

Was this a test transaction?

    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 37
37:           def test?
38:             params['TestMode']
39:           end
transaction_id() click to toggle source
    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 16
16:           def transaction_id
17:             params['TransactionId']
18:           end

Private Instance Methods

parse(post) click to toggle source

Take the posted data and move the relevant data into a hash

    # File lib/active_merchant/billing/integrations/dwolla/notification.rb, line 46
46:           def parse(post)
47:             @raw = post.to_s
48:             json_post = JSON.parse(post)
49:             params.merge!(json_post)
50:           end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.