Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lobbyist-ruby / lib / lobbyist / handwritten_review.rb
Size: Mime:
module Lobbyist
  class HandwrittenReview < Lobbyist::Base
    attr_accessor :id, :contact_id, :admin_user_id, :handwritten_review_credit_id
    attr_accessor :status, :created_at, :updated_at

    def self.create(params = {})
      create_from_response(post("/v1/handwritten_reviews.json", params))
    end
    
    def self.update(id, params = {})
      create_from_response(put("/v1/handwritten_reviews/#{id}.json", {'handwritten_review' => params}))
    end

  end
end