class Spike::Object
Public Class Methods
new(hash)
click to toggle source
# File lib/spike/object.rb, line 5 def initialize(hash) @attributes = Hash[hash.map { |k, v| [k.to_s, v] }] end
Public Instance Methods
object()
click to toggle source
# File lib/spike/object.rb, line 9 def object @attributes['object'] end