Sha256: 739cc1201fe9257da03a50062b3738dfab915f32b963a318d8ed9b0841fa0f77

Contents?: true

Size: 247 Bytes

Versions: 5

Compression:

Stored size: 247 Bytes

Contents

module Coinsetter
  class Configuration
    attr_accessor :username, :password, :ip_address, :staging

    def initialize
      @staging = false
    end

    def uri
      "https://#{'staging-' if staging}api.coinsetter.com/v1/"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coinsetter-0.0.9 lib/coinsetter/configuration.rb
coinsetter-0.0.8 lib/coinsetter/configuration.rb
coinsetter-0.0.7 lib/coinsetter/configuration.rb
coinsetter-0.0.6 lib/coinsetter/configuration.rb
coinsetter-0.0.5 lib/coinsetter/configuration.rb