Class: Flexite::Diff::SyncCheckService
- Inherits:
-
Object
- Object
- Flexite::Diff::SyncCheckService
- Defined in:
- app/services/flexite/diff/sync_check_service.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(other_tree, token, stage, checksum) ⇒ SyncCheckService
constructor
A new instance of SyncCheckService.
Constructor Details
#initialize(other_tree, token, stage, checksum) ⇒ SyncCheckService
Returns a new instance of SyncCheckService.
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'app/services/flexite/diff/sync_check_service.rb', line 4 def initialize(other_tree, token, stage, checksum) @other_tree = other_tree @current_tree = Config.t_nodes @token = Token.new(token) @stage = stage @checksum = checksum @diffs = { '+': [], '-': [], '~': [] } end |
Instance Method Details
#call ⇒ Object
17 18 19 |
# File 'app/services/flexite/diff/sync_check_service.rb', line 17 def call check end |