Class: Rnote::App

Inherits:
Object
  • Object
show all
Defined in:
lib/rnote.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApp

Returns a new instance of App.



42
43
44
45
# File 'lib/rnote.rb', line 42

def initialize
  @persister = Persister.new
  @auth = Auth.new(@persister)
end

Instance Attribute Details

#authObject (readonly)

Returns the value of attribute auth.



40
41
42
# File 'lib/rnote.rb', line 40

def auth
  @auth
end

#persisterObject (readonly)

Returns the value of attribute persister.



40
41
42
# File 'lib/rnote.rb', line 40

def persister
  @persister
end

Instance Method Details

#clientObject



47
48
49
# File 'lib/rnote.rb', line 47

def client
  auth.client
end