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.6.3 framework_components/logging_bot/utils.rb
nutella_framework-0.6.2 framework_components/logging_bot/utils.rb
nutella_framework-0.6.1 framework_components/logging_bot/utils.rb
nutella_framework-0.6.0 framework_components/logging_bot/utils.rb
nutella_framework-0.5.1 framework_components/logging_bot/utils.rb
nutella_framework-0.5.0 framework_components/logging_bot/utils.rb
nutella_framework-0.4.32 framework_components/logging_bot/utils.rb
nutella_framework-0.4.31 framework_components/logging_bot/utils.rb
nutella_framework-0.4.30 framework_components/logging_bot/utils.rb
nutella_framework-0.4.29 framework_components/logging_bot/utils.rb
nutella_framework-0.4.28 framework_components/logging_bot/utils.rb
nutella_framework-0.4.27 framework_components/logging_bot/utils.rb
nutella_framework-0.4.26 framework_components/logging_bot/utils.rb
nutella_framework-0.4.25 framework_components/logging_bot/utils.rb
nutella_framework-0.4.24 framework_components/logging_bot/utils.rb
nutella_framework-0.4.23 framework_components/logging_bot/utils.rb
nutella_framework-0.4.22 framework_components/logging_bot/utils.rb
nutella_framework-0.4.21 framework_components/logging_bot/utils.rb
nutella_framework-0.4.20 framework_components/logging_bot/utils.rb
nutella_framework-0.4.19 framework_components/logging_bot/utils.rb