class N2y::Nordigen
- N2y::Nordigen
- Reference
- Object
Included Modules
- Habitat::SettingsHelpers
- Habitat::TempConfig
Defined in:
n2y/nordigen.crn2y/nordigen/exceptions.cr
n2y/nordigen/responses.cr
Constant Summary
-
DENIED_MAPPING =
{"/api/v2/token/refresh/" => InvalidRefreshToken, "/api/v2/token/new/" => InvalidCreds}
-
HABITAT_SETTINGS =
[{decl: secret_id : String, example: nil, validation: nil}, {decl: secret : String, example: nil, validation: nil}] of Nil
Constructors
Class Method Summary
Instance Method Summary
- #accounts(requisition_id : String)
- #create_requisition(bank_id : String, redirect_uri : URI, reference : String) : Tuple(String, URI)
-
#get(path : String, *, data = nil, query = nil, class klass : Responses.class)
Make a GET request at Nordigen.
-
#get_banks(lang : String)
Returns known banks.
-
#post(path : String, *, data = nil, query = nil, class klass : Responses.class)
Make a POST request at Nordigen.
-
#request(method : String, path : String, *, query = nil, data = nil, class klass : Responses.class)
Make request to Nordigen.
- #settings
- #transactions(account_id : String, *, from : Time | Nil = nil, to : Time | Nil = nil)
Constructor Detail
Class Method Detail
Instance Method Detail
def create_requisition(bank_id : String, redirect_uri : URI, reference : String) : Tuple(String, URI)
#
Make a GET request at Nordigen.
Make a POST request at Nordigen.
def request(method : String, path : String, *, query = nil, data = nil, class klass : Responses.class)
#
Make request to Nordigen.