class Ec2Meta::Api20140225::MetaData::PublicKeys

Public Class Methods

new(fetcher, prefix, no) click to toggle source
Calls superclass method Ec2Meta::Api::Path::new
# File lib/ec2_meta/apis/2014_02_25/meta_data.rb, line 161
def initialize(fetcher, prefix, no)
  super(fetcher, prefix)
  @key_no = no
end

Public Instance Methods

openssh_key() click to toggle source
# File lib/ec2_meta/apis/2014_02_25/meta_data.rb, line 166
def openssh_key
  fetch('openssh-key')
end