class Horza::Entities::Single
Public Class Methods
new(attributes)
click to toggle source
# File lib/horza/entities/single.rb, line 9 def initialize(attributes) update(attributes) end
Public Instance Methods
generic_getter(name)
click to toggle source
Some libraries (ie. ActiveModel serializer) use their own methods to access attributes These are aliased to the generic_getter
# File lib/horza/entities/single.rb, line 15 def generic_getter(name) send(name) end
Also aliased as: read_attribute_for_serialization