Class: Georgia::UpdateRevision::Service
- Inherits:
-
Object
- Object
- Georgia::UpdateRevision::Service
- Defined in:
- app/services/georgia/update_revision.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#revision ⇒ Object
readonly
Returns the value of attribute revision.
Instance Method Summary collapse
-
#initialize(current_user, page, revision, attributes = {}) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(current_user, page, revision, attributes = {}) ⇒ Service
Returns a new instance of Service.
7 8 9 10 11 12 |
# File 'app/services/georgia/update_revision.rb', line 7 def initialize current_user, page, revision, attributes={} @current_user = current_user @page = page @revision = revision @attributes = attributes end |
Instance Attribute Details
#revision ⇒ Object (readonly)
Returns the value of attribute revision.
5 6 7 |
# File 'app/services/georgia/update_revision.rb', line 5 def revision @revision end |