-
Notifications
You must be signed in to change notification settings - Fork 43
2249-3 #298
base: master
Are you sure you want to change the base?
2249-3 #298
Conversation
class CommentsParser | ||
COMMENTS_LIMIT = 50 | ||
API_PATH = 'https://comments.api.onliner.by/news/tech.post/'.freeze | ||
API_PARAMS = "/comments?limit=#{COMMENTS_LIMIT}&_=0.9841189675826583".freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style/RedundantFreeze: Do not freeze immutable objects, as freezing them has no effect.
|
||
class CommentsParser | ||
COMMENTS_LIMIT = 50 | ||
API_PATH = 'https://comments.api.onliner.by/news/tech.post/'.freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style/RedundantFreeze: Do not freeze immutable objects, as freezing them has no effect.
2249/3/sinatra-onliner/rate_count.rb
Outdated
|
||
class CountRating | ||
URI = 'https://westcentralus.api.cognitive.microsoft.com'.freeze | ||
PATH = '/text/analytics/v2.0/sentiment'.freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style/RedundantFreeze: Do not freeze immutable objects, as freezing them has no effect.
2249/3/sinatra-onliner/rate_count.rb
Outdated
# Class gets array of comments | ||
|
||
class CountRating | ||
URI = 'https://westcentralus.api.cognitive.microsoft.com'.freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style/RedundantFreeze: Do not freeze immutable objects, as freezing them has no effect.
Номер
2249
Номер задания
3
Ссылка на видео с демо
Комментарии
Хотел сделать то-то, но не успел и не понимаю.