Class: Class

Inherits:
Object show all
Defined in:
lib/fiveruns/json/common.rb

Instance Method Summary collapse

Instance Method Details

#fjson_creatable?Boolean

Returns true, if this class can be used to create an instance from a serialised FiverunsJSON string. The class has to implement a class method json_create that expects a hash as first parameter, which includes the required data.

Returns:

  • (Boolean)


349
350
351
# File 'lib/fiveruns/json/common.rb', line 349

def fjson_creatable?
  respond_to?(:fjson_create)
end