Class: Brutalismbot::Base

Inherits:
Object
  • Object
show all
Extended by:
Parser, Forwardable
Defined in:
lib/brutalismbot/base.rb

Direct Known Subclasses

Reddit::Post, Slack::Auth

Instance Method Summary collapse

Methods included from Parser

parse

Constructor Details

#initialize(item = {}) ⇒ Base



17
18
19
# File 'lib/brutalismbot/base.rb', line 17

def initialize(item = {})
  @item = JSON.parse(item.to_json)
end