Module: UnlockGateway::Models::Contribution

Defined in:
lib/unlock_gateway/models/contribution.rb

Overview

Your module UnlockMyGatewayName::Models::Contribution, that should implement this interface, will be included in Unlock’s Contribution model. All methods will run in the context of an instance of Contribution model.

Instance Method Summary collapse

Instance Method Details

#update_state_from_gateway!Object

This method should implement a way to check the state of the subscription with the gateway and update the contribution’s state according to it’s real state within the gateway.



8
9
# File 'lib/unlock_gateway/models/contribution.rb', line 8

def update_state_from_gateway!
end