Class: AssayDepot::PurchaseOrder

Inherits:
Object
  • Object
show all
Includes:
DatabaseModel
Defined in:
lib/assaydepot/endpoints.rb

Class Method Summary collapse

Methods included from DatabaseModel

#all, included, #internal_results

Class Method Details

.endpoint(id = nil, format = "json") ⇒ Object



195
196
197
# File 'lib/assaydepot/endpoints.rb', line 195

def self.endpoint(id=nil, format="json")
  get_endpoint(id, "purchase_orders", format)
end

.ref_nameObject



199
200
201
# File 'lib/assaydepot/endpoints.rb', line 199

def self.ref_name
  "purchase_orders"
end