@@ -21,7 +21,7 @@ class Device < Endpoint
2121 def adverse_events ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
2222 endpoint = "event.json"
2323 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
24- query = build_query ( inputs , { } )
24+ query = build_query ( inputs )
2525 make_request ( endpoint , query )
2626 end
2727
@@ -34,7 +34,7 @@ def adverse_events(search: [], sort: [], count: [], skip: 0, limit: 1)
3434 def classification ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
3535 endpoint = "classification.json"
3636 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
37- query = build_query ( inputs , { } ) # TODO: Upload valid fields
37+ query = build_query ( inputs )
3838 make_request ( endpoint , query )
3939 end
4040
@@ -47,7 +47,7 @@ def classification(search: [], sort: [], count: [], skip: 0, limit: 1)
4747 def premarket_510ks ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
4848 endpoint = "510k.json"
4949 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
50- query = build_query ( inputs , { } ) # TODO: Upload valid fields
50+ query = build_query ( inputs )
5151 make_request ( endpoint , query )
5252 end
5353
@@ -60,7 +60,7 @@ def premarket_510ks(search: [], sort: [], count: [], skip: 0, limit: 1)
6060 def recall_enforcement_reports ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
6161 endpoint = "enforcement.json"
6262 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
63- query = build_query ( inputs , { } ) # TODO: Upload valid fields
63+ query = build_query ( inputs )
6464 make_request ( endpoint , query )
6565 end
6666
@@ -73,7 +73,7 @@ def recall_enforcement_reports(search: [], sort: [], count: [], skip: 0, limit:
7373 def premarket_approval ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
7474 endpoint = "pma.json"
7575 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
76- query = build_query ( inputs , { } ) # TODO: Upload valid fields
76+ query = build_query ( inputs )
7777 make_request ( endpoint , query )
7878 end
7979
@@ -86,7 +86,7 @@ def premarket_approval(search: [], sort: [], count: [], skip: 0, limit: 1)
8686 def recalls ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
8787 endpoint = "recall.json"
8888 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
89- query = build_query ( inputs , { } ) # TODO: Upload valid fields
89+ query = build_query ( inputs )
9090 make_request ( endpoint , query )
9191 end
9292
@@ -99,7 +99,7 @@ def recalls(search: [], sort: [], count: [], skip: 0, limit: 1)
9999 def registrations_and_listings ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
100100 endpoint = "registrationlisting.json"
101101 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
102- query = build_query ( inputs , { } ) # TODO: Upload valid fields
102+ query = build_query ( inputs )
103103 make_request ( endpoint , query )
104104 end
105105
@@ -112,7 +112,7 @@ def registrations_and_listings(search: [], sort: [], count: [], skip: 0, limit:
112112 def covid19_serological_tests ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
113113 endpoint = "covid19serology.json"
114114 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
115- query = build_query ( inputs , { } ) # TODO: Upload valid fields
115+ query = build_query ( inputs )
116116 make_request ( endpoint , query )
117117 end
118118
@@ -125,7 +125,7 @@ def covid19_serological_tests(search: [], sort: [], count: [], skip: 0, limit: 1
125125 def unique_device_identifier ( search : [ ] , sort : [ ] , count : [ ] , skip : 0 , limit : 1 )
126126 endpoint = "udi.json"
127127 inputs = build_inputs ( search : search , sort : sort , count : count , skip : skip , limit : limit )
128- query = build_query ( inputs , { } ) # TODO: Upload valid fields
128+ query = build_query ( inputs )
129129 make_request ( endpoint , query )
130130 end
131131
0 commit comments