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-3.0.6 lib/finapps/rest/statements.rb
finapps-3.0.5 lib/finapps/rest/statements.rb
finapps-3.0.4 lib/finapps/rest/statements.rb
finapps-3.0.3 lib/finapps/rest/statements.rb
finapps-3.0.2 lib/finapps/rest/statements.rb
finapps-3.0.1 lib/finapps/rest/statements.rb
finapps-2.3.7 lib/finapps/rest/statements.rb
finapps-2.3.6 lib/finapps/rest/statements.rb
finapps-2.3.5 lib/finapps/rest/statements.rb
finapps-2.3.3 lib/finapps/rest/statements.rb