Class: Noid::Rails::Service
- Inherits:
-
Object
- Object
- Noid::Rails::Service
- Defined in:
- lib/noid/rails/service.rb
Overview
A service that validates and mints identifiers
Instance Attribute Summary collapse
-
#minter ⇒ Object
readonly
Returns the value of attribute minter.
Instance Method Summary collapse
-
#initialize(minter = default_minter) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(minter = default_minter) ⇒ Service
Returns a new instance of Service.
11 12 13 |
# File 'lib/noid/rails/service.rb', line 11 def initialize(minter = default_minter) @minter = minter end |
Instance Attribute Details
#minter ⇒ Object (readonly)
Returns the value of attribute minter.
9 10 11 |
# File 'lib/noid/rails/service.rb', line 9 def minter @minter end |