lib/mergent.rb in mergent-0.1.2 vs lib/mergent.rb in mergent-0.2.0

- old
+ new

@@ -1,11 +1,16 @@ # frozen_string_literal: true require_relative "mergent/errors" +require_relative "mergent/request_validator" require_relative "mergent/task" require_relative "mergent/version" module Mergent + ENDPOINT = "https://api.mergent.co/v1" + class << self - attr_accessor :api_key + attr_accessor :api_key, :endpoint end end + +Mergent.endpoint = Mergent::ENDPOINT