lib/circular/api.rb in circular-0.0.1 vs lib/circular/api.rb in circular-0.0.2
- old
+ new
@@ -1,8 +1,11 @@
+# frozen_string_literal: true
module Circular
+ ##
+ # API wrapper class
class API
- DEFAULT_DOMAIN = 'circleci.com'
- DEFAULT_PATH = 'api/v1'
+ DEFAULT_DOMAIN = 'circleci.com'.freeze
+ DEFAULT_PATH = 'api/v1'.freeze
def initialize(params = {})
@options = params
end