class Shanon::Config

Attributes

api_key[RW]
fqdn[RW]
param_name[W]
password[RW]
secret_key[RW]

Public Class Methods

new() click to toggle source
# File lib/shanon/config.rb, line 23
def initialize
  @api_key    = nil
  @fqdn       = nil
  @password   = nil
  @secret_key = nil
end

Public Instance Methods

param_name() click to toggle source

If param_name was given as a callable object, call it when returning

# File lib/shanon/config.rb, line 31
def param_name
  @param_name.respond_to?(:call) ? @param_name.call : @param_name
end