Module: LabWhereClient::EndpointCreateActions::ClassMethods

Defined in:
lib/lab_where_client.rb

Instance Method Summary collapse

Instance Method Details

#create(params) ⇒ Object



67
68
69
70
# File 'lib/lab_where_client.rb', line 67

def create(params)
  attrs = LabWhere.new.post(self, nil, creation_params(params))
  new(attrs) unless attrs.nil?
end

#creation_params(params) ⇒ Object



63
64
65
# File 'lib/lab_where_client.rb', line 63

def creation_params(params)
  params
end