Sha256: d379b922c54f50c6eb57914b05657868836d0dcb1f0f8708074c2ff1dd924ddc
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
# frozen_string_literal: true module BridgeBankin class Connect < BridgeObject class << self include API::Resource def connect_item(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/connect/items/add/url", params) convert_to_bridge_object(data) end end def connect_item_with_iban(access_token:, **params) protected_resource(access_token) do data = api_client.post("/v2/connect/items/add/url", params) convert_to_bridge_object(data) end end def edit_item(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/connect/items/edit/url", params) convert_to_bridge_object(data) end end def item_sync(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/connect/items/sync", params) convert_to_bridge_object(data) end end def validate_email(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/connect/users/email/confirmation/url", params) convert_to_bridge_object(data) end end def validate_pro_items(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/connect/items/pro/confirmation/url", params) convert_to_bridge_object(data) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bridge_bankin-0.1.0 | lib/bridge_bankin/connect.rb |