Sha256: 9767dc602b608f4851076bc482dbc84599c09d67ff653a592c9fabbf163d455c
Contents?: true
Size: 663 Bytes
Versions: 2
Compression:
Stored size: 663 Bytes
Contents
require "mblox" require "yaml" CONFIG = YAML::load(File.open('config.yml')) def set_configuration Mblox.configure do |config| config.outbound_url = CONFIG['outbound_url'] config.profile_id = CONFIG['profile_id'] config.sender_id = CONFIG['sender_id'] config.password = CONFIG['password'] config.partner_name = CONFIG['partner_name'] config.tariff = CONFIG['tariff'] config.service_id = CONFIG['service_id'] end end TEST_NUMBER = CONFIG['test_number'] LANDLINE = 6176354500 module Mblox class << self def reset_configuration @config = nil end end end RSpec.configure do |config| config.order = "random" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mblox-0.6.2 | spec/spec_helper.rb |
mblox-0.6.0 | spec/spec_helper.rb |