Method: Fog::Model#to_json

Defined in:
lib/fog/core/model.rb

#to_json(options = {}) ⇒ Object



40
41
42
# File 'lib/fog/core/model.rb', line 40

def to_json(options = {})
  Fog::JSON.encode(attributes)
end