code: def path(self, which=None):
          
          if which in ('smart_class_parameters',):
              return '{0}/{1}'.format(
                  super(Environment, self).path(which='self'),
                  which
              )
          return super(Environment, self).path(which)
docs: Extend ``nailgun.entity_mixins.Entity.path``.
          The format of the returned path depends on the value of ``which``:
  
          smart_class_parameters
              /api/environments/:environment_id/smart_class_parameters
  
          Otherwise, call ``super``.