Sha256: 6c8558ca9c0c44fdd099dab7b3a2add6c023baf8f8831d0cc9744ebd46f4ff61

Contents?: true

Size: 403 Bytes

Versions: 7

Compression:

Stored size: 403 Bytes

Contents

class Log
  aquatic :embed => true
  
  attr_accessor :created_at, :message
  
  def initialize( hash={} )
    hash.each do |key, value|
      send( "#{key}=", value )
    end  
  end  
  
  # convenience methods for inspection during testing
  # ------------------------------------------------- 
  # for testing class level configuration options
  def self.aquatic_options
    _aqua_opts
  end
   
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
baccigalupi-aqua-0.1.1 spec/object/object_fixtures/log.rb
baccigalupi-aqua-0.1.2 spec/object/object_fixtures/log.rb
baccigalupi-aqua-0.1.3 spec/object/object_fixtures/log.rb
baccigalupi-aqua-0.1.4 spec/object/object_fixtures/log.rb
baccigalupi-aqua-0.1.5 spec/object/object_fixtures/log.rb
aqua-0.2.0 spec/object/object_fixtures/log.rb
aqua-0.1.6 spec/object/object_fixtures/log.rb