Sha256: 126fc13eb7ed90ace42eb92797ec33467e2bd74f7c2973858094f2dfdad52ead

Contents?: true

Size: 318 Bytes

Versions: 17

Compression:

Stored size: 318 Bytes

Contents

def fedex_credentials
  @fedex_credentials ||= credentials["development"]
end

def fedex_production_credentials
  @fedex_production_credentials ||= credentials["production"]
end

private

def credentials
  @credentials ||= begin
    YAML.load_file("#{File.dirname(__FILE__)}/../config/fedex_credentials.yml")
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
fedex_ship-0.1.0 spec/support/credentials.rb
fedex-3.10.11 spec/support/credentials.rb
fedex-3.10.1 spec/support/credentials.rb
fedex-3.10.0 spec/support/credentials.rb
fedex-3.9.1 spec/support/credentials.rb
fedex-3.9.0 spec/support/credentials.rb
fedex-3.8.0 spec/support/credentials.rb
fedex-3.6.1 spec/support/credentials.rb
fedex-3.6.0 spec/support/credentials.rb
fedex-3.4.0 spec/support/credentials.rb
fedex-3.3.1 spec/support/credentials.rb
fedex-3.3.0 spec/support/credentials.rb
fedex-3.1.0 spec/support/credentials.rb
fedex-3.0.0 spec/support/credentials.rb
fedex-2.2.2 spec/support/credentials.rb
fedex-2.2.1 spec/support/credentials.rb
fedex-2.2.0 spec/support/credentials.rb