Sha256: 18df74f1fd1f6e624fe1abfa0e7aba1e5b2ffefc62fecd9a6180ba75f67a3c2b

Contents?: true

Size: 189 Bytes

Versions: 10

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true
module TopsConnect
  class Base
    attr_reader :data

    def initialize(data)
      @data = data
    end

    def [](key)
      @data[key]
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tops_connect-0.4.3.2 lib/tops_connect/base.rb
tops_connect-0.4.3.1 lib/tops_connect/base.rb
tops_connect-0.4.3 lib/tops_connect/base.rb
tops_connect-0.4.2.1 lib/tops_connect/base.rb
tops_connect-0.4.2 lib/tops_connect/base.rb
tops_connect-0.4.1 lib/tops_connect/base.rb
tops_connect-0.4.0 lib/tops_connect/base.rb
tops_connect-0.3.4 lib/tops_connect/base.rb
tops_connect-0.3.3 lib/tops_connect/base.rb
tops_connect-0.3.2 lib/tops_connect/base.rb