Sha256: f642ee494d7d63dd6898403669d1d5f10e39b73382216cb5d99964e8ed5c49b4

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 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(key, params = {})
        path = resource_path(key)
        send_request path, :put, params
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finapps-6.10.0 lib/finapps/rest/locations.rb