Sha256: f9b114d806cb6812ce882a8c3c58473a4b943d826f98567fa470624721b1a16a

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

require "dreaming_god/version"
require "dreaming_god/session"
require 'alexagram'
require 'active_record'


module DreamingGod
  @raw_json
  
  def self.raw_json
    @raw_json
  end
  
  
  def self.raw_json= json
    @raw_json = json
  end
  
  def self.dream
    Alexagram.raw_json = @raw_json
    session = Alexagram.session
    
    @dream_session = DreamingGod::Session.new(session)
    @dream_session.imagine(Alexagram.request)
  end
  
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dreaming_god-0.1.3 lib/dreaming_god.rb
dreaming_god-0.1.2 lib/dreaming_god.rb
dreaming_god-0.1.1 lib/dreaming_god.rb