class Qubell::Configuration

Store configuration settings

Attributes

api_version[RW]
domain[RW]
endpoint[R]
password[RW]
username[RW]

Public Class Methods

new() click to toggle source
# File lib/qubell/configuration.rb, line 20
def initialize
  @domain = 'https://express.tonomi.com'
  @api_version = '1'
end

Public Instance Methods

to_s() click to toggle source
# File lib/qubell/configuration.rb, line 29
def to_s
  %({"domain": "#{@domain}","api_version": "#{@api_version}",) +
    %("username": "#{@username}","password": "#{@password}"})
end