Sha256: f67eae48c31c4e404a2b6f8ab751210ac8a06342b47170df11fc91381910841e

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2019 Valencia Management Group
# All rights reserved.

module TopsConnect
  class Base
    attr_reader :data

    def initialize(data)
      @data = data
    end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tops_connect-0.7.2 lib/tops_connect/base.rb
tops_connect-0.7.1 lib/tops_connect/base.rb
tops_connect-0.7.0 lib/tops_connect/base.rb