lib/linodians.rb in linodians-1.0.0 vs lib/linodians.rb in linodians-1.0.1
- old
+ new
@@ -1,12 +1,13 @@
+# frozen_string_literal: true
require 'open-uri'
require 'nokogiri'
##
# Module for parsing Linode employee info
module Linodians
- DATA_URL = 'https://www.linode.com/employees'
- PHOTO_URL = 'https://www.linode.com/media/images/employees/%s.png'
+ DATA_URL = 'https://www.linode.com/about'.freeze
+ PHOTO_URL = 'https://www.linode.com/media/images/employees/%s.png'.freeze
class << self
##
# Insert a helper .new() method for creating a new Group object
def new(*args)