Sha256: c279ebdb45f267397a08b9139b62ee87dde5908122a467241de98e56d40d18f8

Contents?: true

Size: 494 Bytes

Versions: 5

Compression:

Stored size: 494 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__) + '/lib'

require 'pry'
require_relative './lib/brightpearl.rb'

Brightpearl.config.api_domain =   ENV["RUBY_BRIGHTPEARL_ENDPOINT"]
Brightpearl.config.app_ref =      ENV["RUBY_BRIGHTPEARL_APP_REF"]
Brightpearl.config.dev_ref =      ENV["RUBY_BRIGHTPEARL_DEV_REF"]
Brightpearl.config.account =      ENV["RUBY_BRIGHTPEARL_ACCOUNT"]
Brightpearl.config.token =        ENV["RUBY_BRIGHTPEARL_TOKEN"] # It expires

puts "hello"

puts Brightpearl::Order.get(1)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-brightpearl-0.4.0 playground.rb
ruby-brightpearl-0.3.0 playground.rb
ruby-brightpearl-0.2.0 playground.rb
ruby-brightpearl-0.1.01 playground.rb
ruby-brightpearl-0.1.0 playground.rb