Sha256: 5bbe076ba38aa0334effa4eb5539f320b757900aaa669f1fd408722631e8e8c6

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/ordered_options'

module Lograge
  class OrderedOptions < ActiveSupport::OrderedOptions
    def custom_payload(&block)
      self.custom_payload_method = block
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lograge-0.14.0 lib/lograge/ordered_options.rb
lograge-0.13.0 lib/lograge/ordered_options.rb
lograge-0.12.0 lib/lograge/ordered_options.rb