lib/nk_alpe/api/extract.rb
def by_period(user, hash_query)
          endpoint = '/coda/api/v1/account-statements'
          url = generate_url(base_url, endpoint, hash_query)

          request = new_request_with_auth(user.token)

          request.get(url)
        end
# Returns user's extract for a determined period
# @note the balance is also returned according to the period.
#
Returns user's extract for a determined period
Returns user ' s extract for a determined period
def by_period(user, hash_query)
          endpoint = '/coda/api/v1/account-statements'
          url = generate_url(base_url, endpoint, hash_query)
          request = new_request_with_auth(user.token)
          request.get(url)
        end
def by_period ( user , hash_query ) endpoint = '/coda/api/v1/account-statements' url = generate_url ( base_url , endpoint , hash_query ) request = new_request_with_auth ( user . token ) request . get ( url ) end
Returns user's extract for a determined period
Returns user ' s extract for a determined period
user
hash_query
note
the balance is also returned according to the period.
the balance is also returned according to the period .