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.



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

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

Instance Attribute Details

#authObject (readonly)

Returns the value of attribute auth.



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

def auth
  @auth
end

#persisterObject (readonly)

Returns the value of attribute persister.



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

def persister
  @persister
end

Instance Method Details

#clientObject



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

def client
  auth.client
end