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

Returns a new instance of Base.



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

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