Class: Cards

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.get(no_cache = nil) ⇒ Object



7
8
9
# File 'lib/cards.rb', line 7

def self.get(no_cache = nil)
  new(no_cache).get
end

Instance Method Details

#getObject



11
12
13
# File 'lib/cards.rb', line 11

def get
  JSON.parse(cards)
end