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 / category.rb
Size: Mime:
module Lobbyist
  class Category < Lobbyist::Base
    
    attr_accessor :id, :name, :created_at, :updated_at

    # /v1/categories.json
    def self.list(params = {})
      create_from_response(get("/v1/categories.json", params))
    end
  end
end