Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

2249-3 #298

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

2249-3 #298

wants to merge 9 commits into from

Conversation

krlklim
Copy link
Contributor

@krlklim krlklim commented Jul 31, 2018

Номер

2249

Номер задания

3

Ссылка на видео с демо

Комментарии

Хотел сделать то-то, но не успел и не понимаю.

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

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

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 CountRating
URI = 'https://westcentralus.api.cognitive.microsoft.com'.freeze
PATH = '/text/analytics/v2.0/sentiment'.freeze

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 gets array of comments

class CountRating
URI = 'https://westcentralus.api.cognitive.microsoft.com'.freeze

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants