Sha256: da6693f6ec70ecec567c47363c1c958e30a25dc4857161ef9e163d0e5fc15d9f

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

module Taro::Config
  singleton_class.attr_accessor(
    :api_name,
    :api_version,
    :export_format,
    :export_path,
    :parse_params,
    :validate_response,
  )

  # defaults
  self.api_name = 'Taro-based API'
  self.api_version = '1.0'
  self.export_format = :yaml
  self.export_path = 'api.yml'
  self.parse_params = true
  self.validate_response = true
end

def Taro.config
  Taro::Config
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
taro-1.3.0 lib/taro/config.rb
taro-1.2.0 lib/taro/config.rb
taro-1.1.0 lib/taro/config.rb
taro-1.0.0 lib/taro/config.rb