Method: Polipus::Page.from_json

Defined in:
lib/polipus/page.rb

.from_json(json) ⇒ Object



223
224
225
226
# File 'lib/polipus/page.rb', line 223

def self.from_json(json)
  hash = JSON.parse json
  self.from_hash hash
end