class MyParty

Public Class Methods

get(*args) click to toggle source
# File lib/core_ext/myparty.rb, line 2
def self.get(*args)
  response = HTTParty.get(*args)
  if response.code == 404
    raise HTTParty::Error
  else
    response
  end
end