Sha256: 88ae8757c5200e8b74bb927f8c5339f1ed632aff234077530274525a4d175db0

Contents?: true

Size: 399 Bytes

Versions: 8

Compression:

Stored size: 399 Bytes

Contents

module Paychex
  class Client
    module Locations
      # Get a list of the locations for a company
      def locations(company_id, options = {})
        get("companies/#{company_id}/locations")
      end

      # Get a specific location's details
      def location(company_id, location_id, options = {})
        get("companies/#{company_id}/locations/#{location_id}")
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
paychex-0.3.3 lib/paychex/client/locations.rb
paychex-0.3.2 lib/paychex/client/locations.rb
paychex-0.3.1 lib/paychex/client/locations.rb
paychex-0.3.0 lib/paychex/client/locations.rb
paychex-0.2.2 lib/paychex/client/locations.rb
paychex-0.2.1 lib/paychex/client/locations.rb
paychex-0.2.0 lib/paychex/client/locations.rb
paychex-0.1.1 lib/paychex/client/locations.rb