Class: Latitude::API::Resources::SSHKey
Constant Summary
Constants inherited
from APIResource
APIResource::READ_ONLY_ATTRIBUTES
Instance Attribute Summary collapse
Attributes inherited from APIResource
#id, #meta, #path_params, #raw_data, #type
Method Summary
all, list
create
retrieve
update
delete
Methods inherited from APIResource
#==, #[], #[]=, #as_json, #attributes, #changed?, class_url, config_source, construct_from, #delete, execute_request, extract_path_params, #hash, id_prefix, #initialize, #inspect, instance_url, #method_missing, path_param_keys, #refresh, resource_path, resource_type, #resource_url, #respond_to_missing?, #save, #to_h, #unsaved_attributes, with_config, #write_attribute
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIResource
Instance Attribute Details
#created_at ⇒ Time
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
#fingerprint ⇒ String
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
#name ⇒ String
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
#public_key ⇒ String
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
#updated_at ⇒ Time
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# File 'lib/latitude/api/resources/ssh_key.rb', line 22
class SSHKey < APIResource
attribute :tags, [Objects::Tag]
attribute :name, :string
attribute :public_key, :string
attribute :fingerprint, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :project, Objects::Project
attribute :user, Objects::User
resource_type "ssh_keys"
resource_path "/ssh_keys"
id_prefix "ssh_"
extend Operations::List
extend Operations::Create
extend Operations::Retrieve
extend Operations::Update
extend Operations::Delete
end
|