Module: LabWhereClient::EndpointCreateActions::ClassMethods

Defined in:
lib/lab_where_client.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details

#create(params) ⇒ Object


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

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

#creation_params(params) ⇒ Object


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

def creation_params(params)
  params
end