class User
attr_reader :company
def initialize(company: nil)
@company = company
end
def apply_for(well_type, location)
license = License.new
license.company = company
license.well_type = well_type
license.location = location
license.applicant = self
license
end
end