class CloudFormer::CloudFormation::AuthenticationItem
Public Class Methods
new(name = nil)
click to toggle source
Calls superclass method
# File lib/cloud_former/metadata_resources/cloud_formation/authentication_item.rb, line 15 def initialize(name = nil) super() @aws_type = 'AWS::CloudFormation::AuthenticationItem' @name = name || "AuthenticationItem#{self.class.next_id}" end
next_id()
click to toggle source
# File lib/cloud_former/metadata_resources/cloud_formation/authentication_item.rb, line 25 def self.next_id @@current_id ||= 1 @@current_id += 1 end
Public Instance Methods
get_name()
click to toggle source
# File lib/cloud_former/metadata_resources/cloud_formation/authentication_item.rb, line 21 def get_name @name end