Sha256: ca3b5eda8329e648a4316bc7dd619a4a745b32e26b9767400d27c81b37042c41

Contents?: true

Size: 233 Bytes

Versions: 8

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true
require 'active_support/ordered_options'

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
heavylog-0.0.9 lib/heavylog/ordered_options.rb
heavylog-0.0.8 lib/heavylog/ordered_options.rb
heavylog-0.0.7 lib/heavylog/ordered_options.rb
heavylog-0.0.6 lib/heavylog/ordered_options.rb
heavylog-0.0.5 lib/heavylog/ordered_options.rb
heavylog-0.0.4 lib/heavylog/ordered_options.rb
heavylog-0.0.3 lib/heavylog/ordered_options.rb
heavylog-0.0.2 lib/heavylog/ordered_options.rb