Sha256: 222f199d92aae5fc724ec9a34c48e6ecaa625ec24f88ecb717cf240fbe1c7771

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

module Helpers

  def api_envs
    @api_envs = begin
      env = ENV["API_ENV"] || "development"
      YAML.load_file("api_envs.yml")[env]
    end
  end

  def setup_auth!
    VzaarApi.auth_token = 'pVrjGuKWP27U_kz4anfy'
    VzaarApi.client_id  = 'glide-franca-raise'
    VzaarApi.hostname   = 'app.vzaar.localhost'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vzaar_api-2.0.2 spec/support/helpers.rb
vzaar_api-2.0.1 spec/support/helpers.rb