module Trellohub::Mocking::NoRequest
Public Class Methods
included(base)
click to toggle source
# File lib/trellohub/mocking.rb, line 77 def self.included(base) Trellohub::Mocking.request_methods.each do |m| base.class_eval do alias_method :"#{m}_with_http", m.to_sym unless method_defined? :"#{m}_with_http" alias_method m.to_sym, :"#{m}_without_http" end end end