Sha256: 5fd035615ba721fdbe6aa75b26e54bdb7445c09c5c3ebe387cc1cb449991b563

Contents?: true

Size: 217 Bytes

Versions: 51

Compression:

Stored size: 217 Bytes

Contents

# Utility functions for logging bot

def assemble_log(payload, from)
  h = Hash.new
  h.merge! payload
  h['from'] = from
  h
end

def assemble_dump(message, channel)
  {'channel' => channel, 'message' => message}
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
nutella_framework-0.7.2 framework_components/logging_bot/utils.rb
nutella_framework-0.7.1 framework_components/logging_bot/utils.rb
nutella_framework-0.7.0 framework_components/logging_bot/utils.rb
nutella_framework-0.6.21 framework_components/logging_bot/utils.rb
nutella_framework-0.6.20 framework_components/logging_bot/utils.rb
nutella_framework-0.6.19 framework_components/logging_bot/utils.rb
nutella_framework-0.6.18 framework_components/logging_bot/utils.rb
nutella_framework-0.6.17 framework_components/logging_bot/utils.rb
nutella_framework-0.6.16 framework_components/logging_bot/utils.rb
nutella_framework-0.6.15 framework_components/logging_bot/utils.rb
nutella_framework-0.6.13 framework_components/logging_bot/utils.rb
nutella_framework-0.6.12 framework_components/logging_bot/utils.rb
nutella_framework-0.6.11 framework_components/logging_bot/utils.rb
nutella_framework-0.6.10 framework_components/logging_bot/utils.rb
nutella_framework-0.6.9 framework_components/logging_bot/utils.rb
nutella_framework-0.6.8 framework_components/logging_bot/utils.rb
nutella_framework-0.6.7 framework_components/logging_bot/utils.rb
nutella_framework-0.6.6 framework_components/logging_bot/utils.rb
nutella_framework-0.6.5 framework_components/logging_bot/utils.rb
nutella_framework-0.6.4 framework_components/logging_bot/utils.rb