Sha256: fae3a1a33309741d709680b3170b0b6492af1dc0b324815d735d558087283137

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

module Messenger

  class Result

    attr_reader :response

    def initialize(success, response)
      @success = success
      @response = response
    end

    def success?
      !!@success
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
messenger-0.1.1 lib/messenger/result.rb