Skip to content

Commit

Permalink
Merge pull request #10 from EiNSTeiN-/configurable-host
Browse files Browse the repository at this point in the history
Make api host configurable
  • Loading branch information
mtchavez committed Jun 5, 2014
2 parents 1b3a767 + fa030af commit ffefd78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/circleci/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ class Config

VERSION = 'v1'
DEFAULT_HOST = "https://circleci.com/api/#{VERSION}"
DEFAULT_PORT = 80 # @private
DEFAULT_PORT = 80

attr_accessor :token
attr_reader :host, :port # @private
attr_accessor :token, :host, :port

##
#
Expand Down

0 comments on commit ffefd78

Please sign in to comment.