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 / termination_notice.rb
Size: Mime:
module Lobbyist
  class TerminationNotice < Lobbyist::Base
    attr_accessor :id, :company_id, :dismissed, :created_at, :updated_at

    def self.list(params = {})
      create_from_response(get('/v1/termination_notices.json', params))
    end
    
    def self.dismiss(id)
      create_from_response(put("/v1/termination_notices/#{id}/dismiss.json"))
    end
    
  end
end