Sha256: bd294fceb9cdcd5ddd688df451306dcb78642f6e1b111bc7f093c39c4a344ece

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

cheddargetter_config = YAML.load_file(File.join(Rails.root, 'config', 'cheddargetter.yml'))[Rails.env]
CGClient = CheddarGetter::Client.new(
	:product_code => cheddargetter_config['product_code'],
	:username			=> cheddargetter_config['username'],
	:password			=> cheddargetter_config['password']
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cheddargetter_client_rails-0.1.27 lib/generators/cheddargetter/templates/cheddargetter_client.rb
cheddargetter_client_rails-0.1.26 lib/generators/cheddargetter/templates/cheddargetter_client.rb
cheddargetter_client_rails-0.1.16 lib/generators/cheddargetter/templates/cheddargetter_client.rb
cheddargetter_client_rails-0.1.15 lib/generators/cheddargetter/templates/cheddargetter_client.rb
cheddargetter_client_rails-0.1.14 lib/generators/cheddargetter/templates/cheddargetter_client.rb