Sha256: bde81cec289dff657fe1526453a437611efee5e028654d39d27a0776f0b54bb6
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
require 'active_support/dependencies' require 'api_taster/engine' require 'api_taster/route' require 'api_taster/mapper' require 'api_taster/form_builder' module ApiTaster def self.routes(&block) Route.route_set = Rails.application.routes Route.inputs = {} Route.missing_definitions = [] Route.obsolete_definitions = [] Mapper.instance_eval(&block) Route.calculate_missing_definitions end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api_taster-0.4.1 | lib/api_taster.rb |
api_taster-0.4.0 | lib/api_taster.rb |