Class: Brickwall::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/brickwall.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#application_domainObject

Returns the value of attribute application_domain.



22
23
24
# File 'lib/brickwall.rb', line 22

def application_domain
  @application_domain
end

#brick_private_keyObject

Returns the value of attribute brick_private_key.



22
23
24
# File 'lib/brickwall.rb', line 22

def brick_private_key
  @brick_private_key
end

#brick_public_keyObject

Returns the value of attribute brick_public_key.



22
23
24
# File 'lib/brickwall.rb', line 22

def brick_public_key
  @brick_public_key
end

#widget_project_keyObject

Returns the value of attribute widget_project_key.



22
23
24
# File 'lib/brickwall.rb', line 22

def widget_project_key
  @widget_project_key
end

#widget_secret_keyObject

Returns the value of attribute widget_secret_key.



22
23
24
# File 'lib/brickwall.rb', line 22

def widget_secret_key
  @widget_secret_key
end

Instance Method Details

#configured?Boolean

Returns:

  • (Boolean)


26
27
28
29
30
31
# 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