Sha256: 6f28747f24adfcab25552220ce0603dff91fcf656d34a3b0619536dad5c2a1ea

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require_relative 'response'

module JSend

  class SucessResponse < Response

    attr_reader :data

    def initialize(data)
      @status = JSend::SUCCESS
      @data = data
    end

    public_class_method :new

  end

  private_constant :SucessResponse

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsend-0.1.0 lib/jsend/responses/success_response.rb