Sha256: 70706ca19aa48834d8f6559ebc7747638cb42b9f9edcccba42a14a3062e8f22b
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
module WhosGotDirt module Requests # Requests for relations. # # Many APIs support the parameters below. For API-specific parameters, visit # the API's request class. # # @example Find related entities by name (fuzzy match). # "subject": [{ # "name~=": "John Smith" # }] # # @example Find related people by birth date. # "subject": [{ # "birth_date": "2010-01-01" # }] # # @example Find related people with a birth date greater than or equal to a given value. # "subject": [{ # "birth_date>=": "2010-01-03" # }] # # @example Find related people with a birth date greater than a given value. # "subject": [{ # "birth_date>": "2010-01-02" # }] # # @example Find related people with a birth date less than or equal to a given value. # "subject": [{ # "birth_date<=": "2010-01-04" # }] # # @example Find related people with a birth date less than a given value. # "subject": [{ # "birth_date<": "2010-01-05" # }] # # @example Find related entities by address (fuzzy match). # "subject": [{ # "contact_details": [{ # "type": "address", # "value~=": "52 London" # }] # }] # # @example Limit the number of results. # "limit": 5 module Relation end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whos_got_dirt-0.0.4 | lib/whos_got_dirt/requests/relation.rb |
whos_got_dirt-0.0.3 | lib/whos_got_dirt/requests/relation.rb |
whos_got_dirt-0.0.2 | lib/whos_got_dirt/requests/relation.rb |