Sha256: 7d5d03ac815c6ba455dacdc2ae370812b2a19e781cdfc41301a8e5b49f6e48fe

Contents?: true

Size: 408 Bytes

Versions: 28

Compression:

Stored size: 408 Bytes

Contents

# encoding: utf-8

$:.push 'examples'; require 'helper'

Dir["examples/*/**.rb"].each do |file|
  [:Root, :Item, :Customer, :Entry, :Service].each do |klass|
    Object.send(:remove_const, klass) if Object.const_defined? klass
  end

  RestModel::Configuration.configure do |c|
    c.convert_input_keys = RestModel::Configuration::DefaultHandler
  end

  puts "\n\nexample file: #{file}\n\n"
  load file
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rest_model-0.1.9 examples/all.rb
rest_model-0.1.8 examples/all.rb
rest_model-0.1.7 examples/all.rb
rest_model-0.1.6 examples/all.rb
rest_model-0.1.5 examples/all.rb
rest_model-0.1.4 examples/all.rb
rest_model-0.1.3 examples/all.rb
rest_model-0.1.2 examples/all.rb