class CheckoutRu::Entity

Public Instance Methods

to_json(options = {}) click to toggle source
# File lib/checkout_ru/entity.rb, line 8
def to_json(options = {})
  hash = self.to_hash
  CheckoutRu.camelize_keys!(hash)
  MultiJson.dump(hash, options.merge(:pretty => true))
end