Sha256: 12e3786c5467af484d87e0a8712b8f62918f523e16d2786f9e4c9ac9d20920e7
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
require 'jquery-rails' require 'bootstrap-sass' require 'remotipart' require 'active_support/dependencies' require 'api_taster/engine' require 'api_taster/route' require 'api_taster/mapper' require 'api_taster/form_builder' require 'api_taster/route_collector' module ApiTaster mattr_accessor :global_params self.global_params = {} mattr_accessor :route_path self.route_path = "#{Rails.root}/lib/api_tasters" mattr_accessor :global_headers self.global_headers = {} def self.routes(&block) ApiTaster::RouteCollector.routes << block end class Exception < ::Exception; end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api_taster-0.8.2 | lib/api_taster.rb |
api_taster-0.8.1 | lib/api_taster.rb |