Class: ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Chain
- Inherits:
- 
      Object
      
        - Object
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Chain
 
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb
Instance Method Summary collapse
- #==(other) ⇒ Boolean? private
- #code ⇒ String, ... private
- #code=(other_code) ⇒ Symbol private
- #comparison_method ⇒ Symbol private
- #comparison_method=(other_comparison_method) ⇒ Symbol private
- #data ⇒ Hash{Symbol => Object} private
- #data=(other_data) ⇒ Hash{Symbol => Object} private
- #initialize ⇒ void constructor private
- #message ⇒ String private
- #message=(other_message) ⇒ String private
- #original_service ⇒ ConvenientService::Service? private
- #original_service=(other_service) ⇒ ConvenientService::Service private
- #service ⇒ ConvenientService::Service? private
- #service=(other_service) ⇒ ConvenientService::Service private
- #statuses ⇒ Array<Symbol> private
- #statuses=(other_statuses) ⇒ Array<Symbol> private
- #step ⇒ ConvenientService::Service, ... private
- #step=(other_step) ⇒ ConvenientService::Service, Symbol private
- #step_index ⇒ Integer? private
- #step_index=(other_step_index) ⇒ Integer private
- #used_code? ⇒ Boolean private
- #used_data? ⇒ Boolean private
- #used_message? ⇒ Boolean private
- #used_original_service? ⇒ Boolean private
- #used_service? ⇒ Boolean private
- #used_step? ⇒ Boolean private
- #used_step_index? ⇒ Boolean private
Constructor Details
#initialize ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 21 22 23 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 21 def initialize @options = {} end | 
Instance Method Details
#==(other) ⇒ Boolean?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 265 266 267 268 269 270 271 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 265 def ==(other) return unless other.instance_of?(self.class) return false if != other. true end | 
#code ⇒ String, ...
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 120 121 122 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 120 def code [:code] end | 
#code=(other_code) ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 215 216 217 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 215 def code=(other_code) [:code] = other_code end | 
#comparison_method ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 129 130 131 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 129 def comparison_method [:comparison_method] || Constants::DEFAULT_COMPARISON_METHOD end | 
#comparison_method=(other_comparison_method) ⇒ Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 185 186 187 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 185 def comparison_method=(other_comparison_method) [:comparison_method] = other_comparison_method end | 
#data ⇒ Hash{Symbol => Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 102 103 104 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 102 def data [:data] || {} end | 
#data=(other_data) ⇒ Hash{Symbol => Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 195 196 197 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 195 def data=(other_data) [:data] = other_data end | 
#message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 111 112 113 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 111 def [:message] || "" end | 
#message=(other_message) ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 205 206 207 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 205 def () [:message] = end | 
#original_service ⇒ ConvenientService::Service?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 147 148 149 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 147 def original_service [:original_service] end | 
#original_service=(other_service) ⇒ ConvenientService::Service
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 235 236 237 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 235 def original_service=(other_service) [:original_service] = other_service end | 
#service ⇒ ConvenientService::Service?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 138 139 140 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 138 def service [:service] end | 
#service=(other_service) ⇒ ConvenientService::Service
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 225 226 227 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 225 def service=(other_service) [:service] = other_service end | 
#statuses ⇒ Array<Symbol>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 93 94 95 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 93 def statuses [:statuses] || [] end | 
#statuses=(other_statuses) ⇒ Array<Symbol>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 175 176 177 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 175 def statuses=(other_statuses) [:statuses] = other_statuses end | 
#step ⇒ ConvenientService::Service, ...
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 156 157 158 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 156 def step [:step] end | 
#step=(other_step) ⇒ ConvenientService::Service, Symbol
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 245 246 247 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 245 def step=(other_step) [:step] = other_step end | 
#step_index ⇒ Integer?
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 165 166 167 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 165 def step_index [:step_index] end | 
#step_index=(other_step_index) ⇒ Integer
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 255 256 257 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 255 def step_index=(other_step_index) [:step_index] = other_step_index end | 
#used_code? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 48 49 50 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 48 def used_code? .key?(:code) end | 
#used_data? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 30 31 32 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 30 def used_data? .key?(:data) end | 
#used_message? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 39 40 41 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 39 def .key?(:message) end | 
#used_original_service? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 66 67 68 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 66 def used_original_service? .key?(:original_service) end | 
#used_service? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 57 58 59 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 57 def used_service? .key?(:service) end | 
#used_step? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 75 76 77 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 75 def used_step? .key?(:step) end | 
#used_step_index? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 84 85 86 | # File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/chain.rb', line 84 def used_step_index? .key?(:step_index) end |