Skip to content

Commit

Permalink
using examples_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
iced committed Feb 23, 2012
1 parent 73af6ae commit b2061b8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'iron_worker_ng'
require 'yaml'
require_relative '../../ruby/examples_helper'

config = YAML.load_file('../../ruby/_config.yml')
config = ExamplesHelper.load_config

client = IronWorkerNG::Client.new(config['iw']['project_id'], config['iw']['token'])

Expand Down

0 comments on commit b2061b8

Please sign in to comment.