Class: LastPass::Note

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name, notes, group) ⇒ Note

Returns a new instance of Note.



8
9
10
11
12
13
# File 'lib/lastpass/note.rb', line 8

def initialize id, name, notes, group
    @id = id
    @name = name
    @notes = notes
    @group = group
end

Instance Attribute Details

#groupObject (readonly)

Returns the value of attribute group.



3
4
5
# File 'lib/lastpass/note.rb', line 3

def group
  @group
end

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/lastpass/note.rb', line 3

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/lastpass/note.rb', line 3

def name
  @name
end

#notesObject (readonly)

Returns the value of attribute notes.



3
4
5
# File 'lib/lastpass/note.rb', line 3

def notes
  @notes
end