module BridgeBankin::API::Resource
Extend any resource class with API
specific methods
Private Instance Methods
api_client()
click to toggle source
# File lib/bridge_bankin/api/resource.rb, line 16 def api_client @api_client ||= API::Client.new end
protected_resource(access_token) { || ... }
click to toggle source
# File lib/bridge_bankin/api/resource.rb, line 11 def protected_resource(access_token) api_client.access_token = access_token yield end