Class: AssayDepot::QuotedWare
- Inherits:
-
Object
- Object
- AssayDepot::QuotedWare
show all
- Includes:
- SearchModel
- Defined in:
- lib/assaydepot/endpoints.rb
Class Method Summary
collapse
#facets, #find, included, #initialize, #internal_results, #where
Class Method Details
.endpoint(id = nil, format = "json") ⇒ Object
82
83
84
|
# File 'lib/assaydepot/endpoints.rb', line 82
def self.endpoint(id=nil, format="json")
get_endpoint(id, "quoted_wares", format)
end
|
.messages(id, format = "json") ⇒ Object
78
79
80
|
# File 'lib/assaydepot/endpoints.rb', line 78
def self.messages(id, format="json")
get(id: "#{id[:id]}/messages", format: format)
end
|
.proposals(id, format = "json") ⇒ Object
70
71
72
|
# File 'lib/assaydepot/endpoints.rb', line 70
def self.proposals(id, format="json")
get(id: "#{id[:id]}/proposals", format: format)
end
|
.purchase_orders(id, format = "json") ⇒ Object
74
75
76
|
# File 'lib/assaydepot/endpoints.rb', line 74
def self.purchase_orders(id, format="json")
get(id: "#{id[:id]}/purchase_orders", format: format)
end
|
.ref_name ⇒ Object
86
87
88
|
# File 'lib/assaydepot/endpoints.rb', line 86
def self.ref_name
"quoted_ware_refs"
end
|