Skip to content

Instantly share code, notes, and snippets.

@vincentwoo
Created January 19, 2013 04:17
Show Gist options
  • Save vincentwoo/4570716 to your computer and use it in GitHub Desktop.
Save vincentwoo/4570716 to your computer and use it in GitHub Desktop.
Loading development environment (Rails 3.2.11)
1.9.3p194 :001 > AtLastClient
=> AtLastClient
1.9.3p194 :002 > AtLastClient.class
=> Class
1.9.3p194 :003 > reload!
Reloading...
=> true
1.9.3p194 :004 > AtLastClient.class
=> Module
1.9.3p194 :005 > ^D
and in lib/fulfillment/atlast_client.rb...
require 'builder'
require 'crack'
require 'net/http'
require 'net/https'
require 'rest-client'
require 'uri'
class AtLastClient
class << self
attr_accessor :key, :root_url
def create_manifest
... and so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment