Class: Katello::CpConsumerUser

Inherits:
User
  • Object
show all
Defined in:
app/models/katello/cp_consumer_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#uuidObject

Returns the value of attribute uuid.



4
5
6
# File 'app/models/katello/cp_consumer_user.rb', line 4

def uuid
  @uuid
end

Instance Method Details

#cp_oauth_headerObject



6
7
8
# File 'app/models/katello/cp_consumer_user.rb', line 6

def cp_oauth_header
  { 'cp-consumer' => self.uuid }
end