Sha256: d72df593e9dc1b1c71aac19e3c27a84c3ed82a22594cf5cd6d5d27ecd1898c19

Contents?: true

Size: 402 Bytes

Versions: 30

Compression:

Stored size: 402 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

30 entries across 30 versions & 1 rubygems

Version Path
finapps-5.0.3 lib/finapps/rest/statements.rb
finapps-5.0.2 lib/finapps/rest/statements.rb
finapps-5.0.1 lib/finapps/rest/statements.rb
finapps-5.0.0 lib/finapps/rest/statements.rb
finapps-4.0.16 lib/finapps/rest/statements.rb
finapps-4.0.15 lib/finapps/rest/statements.rb
finapps-4.0.14 lib/finapps/rest/statements.rb
finapps-4.0.12 lib/finapps/rest/statements.rb
finapps-4.0.11 lib/finapps/rest/statements.rb
finapps-4.0.10 lib/finapps/rest/statements.rb
finapps-4.0.9 lib/finapps/rest/statements.rb
finapps-4.0.8 lib/finapps/rest/statements.rb
finapps-4.0.7 lib/finapps/rest/statements.rb
finapps-4.0.6 lib/finapps/rest/statements.rb
finapps-4.0.5 lib/finapps/rest/statements.rb
finapps-4.0.4 lib/finapps/rest/statements.rb
finapps-4.0.3 lib/finapps/rest/statements.rb
finapps-4.0.2 lib/finapps/rest/statements.rb
finapps-4.0.1 lib/finapps/rest/statements.rb
finapps-3.0.7 lib/finapps/rest/statements.rb