Class: CredHubble::Resources::UserCredential

Inherits:
Credential show all
Defined in:
lib/cred_hubble/resources/user_credential.rb

Constant Summary

Constants inherited from Credential

Credential::TYPES

Instance Method Summary collapse

Methods inherited from RestResource

from_json, #to_json

Instance Method Details

#attributes_for_putObject



34
35
36
# File 'lib/cred_hubble/resources/user_credential.rb', line 34

def attributes_for_put
  super.merge(value: value && value.attributes_for_put)
end

#typeObject



30
31
32
# File 'lib/cred_hubble/resources/user_credential.rb', line 30

def type
  Credential::USER_TYPE
end