Sha256: 193149a3284689d8a0a6e1abe844ccbc452df7016c466c0be653a325fa57b345

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'artikcloud'
require 'vcr'
require 'typhoeus'
require 'json'
require 'yaml'
require 'rspec'

RSpec.configure do |config|
  # some (optional) config here
  config.expect_with :rspec do |c|
    c.syntax = :should
  end
  config.mock_with :rspec do |c|
    c.syntax = :should
  end
end


WebMock.allow_net_connect! if defined? WebMock

def help
  puts "\n\n"
  exit
end

def prepare_api_client()
  configuration = ArtikCloud::Configuration.new
  configuration.access_token = '12d094c0b6294f7f9bdbfcf0d2f6c64b'
  configuration.debugging = false
  api_client = ArtikCloud::ApiClient.new(configuration)
  return api_client
end

API_CLIENT = prepare_api_client

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
artikcloud-2.0.0 spec/spec_helper.rb