module Shiphawk::Api::ZipCodes
Zip Codes API
The following API actions provide the CRUD interface to managing zip codes.
Public Instance Methods
zip_codes_index()
click to toggle source
# File lib/shiphawk/api/zip_codes.rb, line 12 def zip_codes_index collection_request zip_codes_path, 1000 end
zip_codes_search(options)
click to toggle source
# File lib/shiphawk/api/zip_codes.rb, line 16 def zip_codes_search options entity_request_with_options zip_codes_path('search'), q: options.fetch(:q, '') end