Sha256: 49f22f3280143376d130abeae8792405de5ecdf13743f7bf820768b4ba91b7f5

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 Bytes

Contents

module TurnipFormatter
  module Resource
    module Step
      module PendingResult
        attr_reader :pending_message
        attr_reader :pending_location

        def pending?
          !pending_message.nil?
        end

        def set_pending(message, location)
          @pending_message = message
          @pending_location = location
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
turnip_formatter-0.8.0 lib/turnip_formatter/resource/step/pending_result.rb
turnip_formatter-0.7.2 lib/turnip_formatter/resource/step/pending_result.rb
turnip_formatter-0.7.1 lib/turnip_formatter/resource/step/pending_result.rb
turnip_formatter-0.7.0 lib/turnip_formatter/resource/step/pending_result.rb
turnip_formatter-0.6.1 lib/turnip_formatter/resource/step/pending_result.rb
turnip_formatter-0.6.0 lib/turnip_formatter/resource/step/pending_result.rb