Make client's internal methods private
This commit is contained in:
@@ -26,6 +26,8 @@ module Manifique
|
||||
@metadata
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def fetch_website
|
||||
res = do_get_request @url
|
||||
@html = Nokogiri::HTML(res.body)
|
||||
@@ -46,8 +48,6 @@ module Manifique
|
||||
JSON.parse(res.body)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def parse_metadata_from_html
|
||||
parse_title_from_html
|
||||
parse_meta_elements_from_html
|
||||
|
||||
Reference in New Issue
Block a user