Module: BadgesEngine::Configuration

Defined in:
lib/badges_engine/configuration.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.badge_versionObject

Returns the value of attribute badge_version.



14
15
16
# File 'lib/badges_engine/configuration.rb', line 14

def badge_version
  @badge_version
end

.badges_originObject

Returns the value of attribute badges_origin.



14
15
16
# File 'lib/badges_engine/configuration.rb', line 14

def badges_origin
  @badges_origin
end

.baker_urlObject

Returns the value of attribute baker_url.



14
15
16
# File 'lib/badges_engine/configuration.rb', line 14

def baker_url
  @baker_url
end

.issuerObject

Returns the value of attribute issuer.



13
14
15
# File 'lib/badges_engine/configuration.rb', line 13

def issuer
  @issuer
end

.user_classObject

Returns the value of attribute user_class.



13
14
15
# File 'lib/badges_engine/configuration.rb', line 13

def user_class
  @user_class
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/badges_engine/configuration.rb', line 9

def setup
  yield self
end