Sha256: 82c98948ffc50af0124c2651637bf5fd25611dc079770416e2c13404df89f068

Contents?: true

Size: 308 Bytes

Versions: 29

Compression:

Stored size: 308 Bytes

Contents

require "active_support/core_ext/object/blank"
require "active_support/core_ext/hash"

module MuffinMan
  module RequestHelpers
    class Base
      def self.json_body(*args)
        new(*args).json_body
      end

      def initialize(*args); end

      def json_body
        {}
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
muffin_man-1.5.11 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.10 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.9 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.8 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.7 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.6 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.5 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.4 lib/muffin_man/request_helpers/base.rb
muffin_man-1.5.3 lib/muffin_man/request_helpers/base.rb