Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyfox/sfsobject/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_sfs(schema = :none) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/rubyfox/sfsobject/core_ext.rb', line 9

def to_sfs(schema=:none)
  if schema == :none
    Rubyfox::SFSObject::Bulk.to_sfs(self)
  else
    Rubyfox::SFSObject::Schema.to_sfs(schema, self)
  end
end