module Middleman
module Hatenastar
class Generator
def initialize(option)
@token = option[:token]
@uri = option[:uri]
@title = option[:title]
@container = option[:container]
@entry_node = option[:entry_node]
end
def generate(uri: nil, title: nil, container: nil, entry_node: nil)
_uri = uri || @uri
_title = title || @title
_container = container || @container
_entry_node = entry_node || @entry_node
<<~TAG
TAG
end
end
end
end