Sha256: 6ea346702ff4f762f10983a499acc29efda6308b7e87b282afe715dd01d81aff

Contents?: true

Size: 365 Bytes

Versions: 46

Compression:

Stored size: 365 Bytes

Contents

require 'fog/core/model'

module Fog
  module Metering
    class OpenStack

      class Resource < Fog::Model

        identity :resource_id

        attribute :project_id
        attribute :user_id
        attribute :metadata

        def initialize(attributes)
          prepare_service_value(attributes)
          super
        end

      end
    end
  end
end

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
fog-maestrodev-1.18.0.20131209090811 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131205181604 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131126122111 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131125111730 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131122203507 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131121075022 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131118164830 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131115184302 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131114200144 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131112185232 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.18.0.20131111203459 lib/fog/openstack/models/metering/resource.rb
fog-1.18.0 lib/fog/openstack/models/metering/resource.rb
fog-1.17.0 lib/fog/openstack/models/metering/resource.rb
fog-1.16.0 lib/fog/openstack/models/metering/resource.rb
fog-maestrodev-1.15.0.20130927082724 lib/fog/openstack/models/metering/resource.rb