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 / v2 / company_feature_flag.rb
Size: Mime:
module Lobbyist
  module V2
    class CompanyFeatureFlag < Lobbyist::V2::Base
      attr_accessor :id, :component, :operation, :parent_id, :enabled, :locked, :review_platform, :updated_at

      class << self
        def list(company_id, params = {})
          create_collection_from_response(get("/v2/companies/#{company_id}/company_feature_flags.json", params))
        end

        def update(company_id, params = {})
          create_collection_from_response(put("/v2/companies/#{company_id}/company_feature_flags.json", params))
        end
      end
    end
  end
end