class TopsConnect::Base

Attributes

data[R]

Public Class Methods

new(data) click to toggle source
# File lib/tops_connect/base.rb, line 10
def initialize(data)
  @data = data
end

Public Instance Methods

[](key) click to toggle source
# File lib/tops_connect/base.rb, line 14
def [](key)
  @data[key]
end