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.3.1 examples/all.rb
rest_model-0.3.0 examples/all.rb
rest_model-0.2.3 examples/all.rb
rest_model-0.2.1 examples/all.rb
rest_model-0.2.0 examples/all.rb
rest_model-0.1.24 examples/all.rb
rest_model-0.1.23 examples/all.rb
rest_model-0.1.22 examples/all.rb
rest_model-0.1.21 examples/all.rb
rest_model-0.1.20 examples/all.rb
rest_model-0.1.19 examples/all.rb
rest_model-0.1.18 examples/all.rb
rest_model-0.1.17 examples/all.rb
rest_model-0.1.16 examples/all.rb
rest_model-0.1.15 examples/all.rb
rest_model-0.1.14 examples/all.rb
rest_model-0.1.13 examples/all.rb
rest_model-0.1.12 examples/all.rb
rest_model-0.1.11 examples/all.rb
rest_model-0.1.10 examples/all.rb