Class: RingioAPI::Ring

Inherits:
Base
  • Object
show all
Defined in:
lib/ringioAPI/ring.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.find(ring_id) ⇒ Object

override method as a temporary solution of the JSON parsing bugs of Rails



6
7
8
# File 'lib/ringioAPI/ring.rb', line 6

def self.find(ring_id)
  super(ring_id).ring
end

Instance Method Details

#saveObject



10
11
12
# File 'lib/ringioAPI/ring.rb', line 10

def save
  raise "Cannot change Ringio rings"
end