Method: Bio::BaseSpace::User#is_init

Defined in:
lib/basespace/model/user.rb

#is_initObject

Test if the Project instance has been initialized.

Throws ModelNotInitializedError, if the Id variable is not set.



57
58
59
# File 'lib/basespace/model/user.rb', line 57

def is_init
  raise ModelNotInitializedError.new('The user model has not been initialized yet') unless get_attr('Id')
end