Class: RingioAPI::Ring
- Defined in:
- lib/ringioAPI/ring.rb
Class Method Summary collapse
-
.find(ring_id) ⇒ Object
override method as a temporary solution of the JSON parsing bugs of Rails.
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
#save ⇒ Object
10 11 12 |
# File 'lib/ringioAPI/ring.rb', line 10 def save raise "Cannot change Ringio rings" end |