Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Adapt to TNT / Chronopost website structure changes #56

Merged
merged 9 commits into from
Jul 22, 2019

Conversation

bobmaerten
Copy link
Collaborator

@bobmaerten bobmaerten commented Jul 22, 2019

Closes #55

@bobmaerten bobmaerten marked this pull request as ready for review July 22, 2019 10:22
@@ -21,11 +21,17 @@ def road_multiplier
end

def air_percentage
@air_percentage ||= HTMLScanner.new(air_content).all("td")&.last
@air_percentage ||= begin
content = HTMLScanner.new(air_content).all("td")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[RuboCop] Layout/IndentationWidth: Use 2 (not 3) spaces for indentation. (link)

posted by Sider

@czj czj changed the title Adapt to websites changes Adapt to TNT / Chronopost website structure changes Jul 22, 2019
@czj czj merged commit e730f4e into master Jul 22, 2019
@czj czj deleted the 55_adapt_to_websites_changes branch July 22, 2019 11:09
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.

Website changes for TNT and Chronopost fuel surcharge infos
2 participants