class Brickwall::Configuration

Attributes

application_domain[RW]
brick_private_key[RW]
brick_public_key[RW]
widget_project_key[RW]
widget_secret_key[RW]

Public Instance Methods

configured?() click to toggle source
# File lib/brickwall.rb, line 26
def configured?
  present?(brick_public_key) &&
    present?(brick_private_key) &&
    present?(widget_project_key) &&
    present?(widget_secret_key)
end

Private Instance Methods

present?(str) click to toggle source
# File lib/brickwall.rb, line 35
def present?(str)
  str != nil && str.match(/\A\s*\z/) == nil
end