Sha256: 79ed1e80a362c5cc134838f075cbe40d20fde0c33bf03777a80812ff457c56af

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

require "celsius/primo/adapter"
require "json"

class Celsius::Primo::Adapter::Operation
  attr_accessor :adapter

  def initialize(adapter)
    @adapter = adapter
  end

  #
  private
  #
  def deep_stringify(obj)
    JSON.parse(JSON.dump(obj), symbolize_names: false)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
celsius-primo-0.1.4 lib/celsius/primo/adapter/operation.rb
celsius-primo-0.1.3 lib/celsius/primo/adapter/operation.rb
celsius-primo-0.1.2 lib/celsius/primo/adapter/operation.rb
celsius-primo-0.1.1 lib/celsius/primo/adapter/operation.rb
celsius-primo-0.1.0 lib/celsius/primo/adapter/operation.rb