christopherstyles/ngp_van

View on GitHub
lib/ngp_van/client/saved_lists.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module NgpVan
  class Client
    module SavedLists
      def saved_lists(params: {})
        get(path: 'savedLists', params: params)
      end

      def saved_list(id:)
        verify_id(id)
        get(path: "savedLists/#{id}")
      end
    end
  end
end