Sha256: f44b395248f9d2512a8527d2245af36fd98fbea81a177df81a58b88030be8137

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module FinApps
  module REST
    class Locations < FinAppsCore::REST::Resources # :nodoc:
      def list(filter = nil)
        path = "#{end_point}?filter=#{filter}" unless filter.nil?
        super path
      end

      def update(id, params)
        path = resource_path(id)
        super params, path
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
finapps-6.13.1 lib/finapps/rest/locations.rb
finapps-6.13.0 lib/finapps/rest/locations.rb
finapps-6.12.0 lib/finapps/rest/locations.rb
finapps-6.11.0 lib/finapps/rest/locations.rb
finapps-6.10.2 lib/finapps/rest/locations.rb
finapps-6.10.1 lib/finapps/rest/locations.rb