Sha256: 99832e5a78b2a27e1e274508122ffc26c3d2cb19b2e8d26ec65cdd76a73f0799

Contents?: true

Size: 284 Bytes

Versions: 4

Compression:

Stored size: 284 Bytes

Contents

require 'yaml'

module Headsail
  class Configure
    attr_accessor :start_client
    attr_reader :apis

    def load_apis(path)
      @apis = YAML.load_file(path)
      Headsail.info('Loaded API YAML file.')
    rescue
      Headsail.error('Loaded API YAML file.')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
headsail-0.1.15 lib/headsail/configure.rb
headsail-0.1.14 lib/headsail/configure.rb
headsail-0.1.13 lib/headsail/configure.rb
headsail-0.1.12 lib/headsail/configure.rb