Class: PulpSimple::Consumers

Inherits:
Base
  • Object
show all
Defined in:
lib/pulp_simple/consumers.rb

Constant Summary collapse

DEFINED_METHODS =
{
    'list'                    => { :http_method => :get, :url_method_name => '' },
    'info'                    => { :http_method => :get, :url_method_name => '' },
    'package_profile'         => { :http_method => :get },
    'update_package_profile'  => { :http_method => :put, :url_method_name => 'package_profile' },
    'package_updates'         => { :http_method => :get },
    'repoids'                 => { :http_method => :get },
    'keyvalues'               => { :http_method => :get },
    'errata'                  => { :http_method => :get },
    'bind'                    => { :http_method => :post },
    'unbind'                  => { :http_method => :post },
    'add_key_value_pair'      => { :http_method => :post },
    'delete_key_value_pair'   => { :http_method => :post },
    'update_key_value_pair'   => { :http_method => :post },
    'history'                 => { :http_method => :post },
    'installpackages'         => { :http_method => :post },
    'uninstallpackages'       => { :http_method => :post },
    'updatepackages'          => { :http_method => :post },
    'installerrata'           => { :http_method => :post }
}

Instance Attribute Summary

Attributes inherited from Base

#pulp_resource_name

Method Summary

Methods inherited from Base

#initialize, #method_missing

Constructor Details

This class inherits a constructor from PulpSimple::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PulpSimple::Base