Sha256: 612188640b2e92c1229e96760691182438e95887284cd1ac871a5426e2c383fb
Contents?: true
Size: 250 Bytes
Versions: 1
Compression:
Stored size: 250 Bytes
Contents
module Githu3 class Store attr_reader :id def initialize data @id = data[:id] || data["id"] @attributes = OpenStruct.new(data) end def method_missing m, *args @attributes.send m, *args end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
githu3-0.0.3 | lib/githu3/store.rb |