Module: AnkiRecord::DeckAttributes

Included in:
Deck
Defined in:
lib/anki_record/deck/deck_attributes.rb

Overview

Module with the Deck class’s attribute readers, writers, and accessors.

Instance Attribute Summary collapse

Instance Attribute Details

#anki21_databaseObject (readonly)

:nodoc:



6
7
8
# File 'lib/anki_record/deck/deck_attributes.rb', line 6

def anki21_database
  @anki21_database
end

#deck_options_groupObject (readonly)

The deck’s deck options group



26
27
28
# File 'lib/anki_record/deck/deck_attributes.rb', line 26

def deck_options_group
  @deck_options_group
end

#descriptionObject

The deck’s description



14
15
16
# File 'lib/anki_record/deck/deck_attributes.rb', line 14

def description
  @description
end

#idObject (readonly)

The deck’s id



18
19
20
# File 'lib/anki_record/deck/deck_attributes.rb', line 18

def id
  @id
end

#last_modified_timestampObject (readonly)

The number of seconds since the 1970 epoch when the deck was last modified



22
23
24
# File 'lib/anki_record/deck/deck_attributes.rb', line 22

def last_modified_timestamp
  @last_modified_timestamp
end

#nameObject

The deck’s name



10
11
12
# File 'lib/anki_record/deck/deck_attributes.rb', line 10

def name
  @name
end