Sha256: cbcabbc8b094af84071db4ba3b2082ae3794731650fce6d52800a957042894fd

Contents?: true

Size: 226 Bytes

Versions: 16

Compression:

Stored size: 226 Bytes

Contents

module Shelly
  class Base
    def current_user
      @user = User.new
      @user.load_credentials
      @user
    end

    def shelly
      @shelly ||= Client.new(current_user.email, current_user.password)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
shelly-0.0.20 lib/shelly/base.rb
shelly-0.0.21.pre lib/shelly/base.rb
shelly-0.0.20.pre lib/shelly/base.rb
shelly-0.0.19 lib/shelly/base.rb
shelly-0.0.18 lib/shelly/base.rb
shelly-0.0.17 lib/shelly/base.rb
shelly-0.0.16 lib/shelly/base.rb
shelly-0.0.15 lib/shelly/base.rb
shelly-0.0.14 lib/shelly/base.rb
shelly-0.0.13 lib/shelly/base.rb
shelly-0.0.12 lib/shelly/base.rb
shelly-0.0.11 lib/shelly/base.rb
shelly-0.0.10 lib/shelly/base.rb
shelly-0.0.9 lib/shelly/base.rb
shelly-0.0.6 lib/shelly/base.rb
shelly-0.0.5 lib/shelly/base.rb