Sha256: cab10085ba23dac393890b61843417b8afe54b6f2150cd801b68032ef5d0a2e2

Contents?: true

Size: 412 Bytes

Versions: 23

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

module FinApps
  module REST
    class Statements < FinAppsCore::REST::Resources
      def show(account_id, document_id)
        not_blank(account_id, :account_id)
        not_blank(document_id, :document_id)

        path =
          "accounts/#{ERB::Util.url_encode(account_id)}/statement/#{ERB::Util.url_encode(document_id)}"
        super nil, path
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
finapps-5.0.27 lib/finapps/rest/statements.rb
finapps-5.0.26 lib/finapps/rest/statements.rb
finapps-5.0.25 lib/finapps/rest/statements.rb
finapps-5.0.24 lib/finapps/rest/statements.rb
finapps-5.0.23 lib/finapps/rest/statements.rb
finapps-5.0.22 lib/finapps/rest/statements.rb
finapps-5.0.21 lib/finapps/rest/statements.rb
finapps-5.0.20 lib/finapps/rest/statements.rb
finapps-5.0.19 lib/finapps/rest/statements.rb
finapps-5.0.17 lib/finapps/rest/statements.rb
finapps-5.0.16 lib/finapps/rest/statements.rb
finapps-5.0.15 lib/finapps/rest/statements.rb
finapps-5.0.14 lib/finapps/rest/statements.rb
finapps-5.0.13 lib/finapps/rest/statements.rb
finapps-5.0.12 lib/finapps/rest/statements.rb
finapps-5.0.11 lib/finapps/rest/statements.rb
finapps-5.0.10 lib/finapps/rest/statements.rb
finapps-5.0.9 lib/finapps/rest/statements.rb
finapps-5.0.8 lib/finapps/rest/statements.rb
finapps-5.0.7 lib/finapps/rest/statements.rb