class Kingfisher::Model
Attributes
attributes[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/kingfisher/model.rb, line 3 def initialize(attributes) @attributes = attributes end
Public Instance Methods
[](key)
click to toggle source
# File lib/kingfisher/model.rb, line 7 def [](key) attributes[key] end