Skip to content

Instantly share code, notes, and snippets.

@darrencauthon
Created March 13, 2016 17:48

Revisions

  1. darrencauthon created this gist Mar 13, 2016.
    15 changes: 15 additions & 0 deletions sample_code.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # https://github.com/banzsolt/wargaming_api/

    wargaming_api git:(master) bundle exec irb

    2.0.0-p647 :001 > WargamingApi::Accounts
    NameError: uninitialized constant WargamingApi::Accounts
    from (irb):1
    from /Users/darrencauthon/.rvm/rubies/ruby-2.0.0-p647/bin/irb:12:in `<main>'
    2.0.0-p647 :002 > require_relative 'lib/wargaming_api'
    accounts -> Players loaded.
    accounts loaded.
    => true
    2.0.0-p647 :003 > WargamingApi::Accounts
    => WargamingApi::Accounts
    2.0.0-p647 :004 >