Sha256: cac4bf41ff63e16b57fa6c1789a032a392d4a703227fd167ee7523a4ba4b7a99
Contents?: true
Size: 770 Bytes
Versions: 15
Compression:
Stored size: 770 Bytes
Contents
# # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) # © Copyright IBM Corporation 2014. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # module Fog module Compute class Softlayer class Image < Fog::Model identity :id, :aliases => 'globalIdentifier' attribute :name attribute :note attribute :parent_id, :aliases => 'parentId' attribute :public_flag, :aliases => 'publicFlag' attribute :status_id, :aliases => 'statusId' attribute :summary attribute :transaction_id, :aliases => 'transactionId' attribute :user_record_id, :aliases => 'userRecordId' def public? public_flag == 1 end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems