Module: LabWhereClient::EndpointCreateActions::ClassMethods

Defined in:
lib/lab_where_client.rb

Instance Method Summary collapse

Instance Method Details

#create(params) ⇒ Object


65
66
67
68
# File 'lib/lab_where_client.rb', line 65

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

#creation_params(params) ⇒ Object


61
62
63
# File 'lib/lab_where_client.rb', line 61

def creation_params(params)
  params
end