Sha256: 29bfae036e4af22a40ab51f1e66ac8dd0fdc6232349ea9c34a6e1838e4740af7

Contents?: true

Size: 214 Bytes

Versions: 13

Compression:

Stored size: 214 Bytes

Contents

module RestforceFactories
  def build_restforce_collection(array=[])
    Restforce::Collection.new({ 'records' => array }, nil)
  end

  def build_restforce_sobject(hash)
    Restforce::SObject.new(hash)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_force-0.24.0 spec/support/restforce_factories.rb
active_force-0.23.0 spec/support/restforce_factories.rb
active_force-0.22.1 spec/support/restforce_factories.rb
active_force-0.22.0 spec/support/restforce_factories.rb
active_force-0.21.0 spec/support/restforce_factories.rb
active_force-0.20.1 spec/support/restforce_factories.rb
active_force-0.20.0 spec/support/restforce_factories.rb
active_force-0.19.0 spec/support/restforce_factories.rb
active_force-0.18.0 spec/support/restforce_factories.rb
active_force-0.17.0 spec/support/restforce_factories.rb
active_force-0.16.0 spec/support/restforce_factories.rb
active_force-0.15.1 spec/support/restforce_factories.rb
active_force-0.15.0 spec/support/restforce_factories.rb