Sha256: 47de508f677b27d2b667c6c8beb57534663ea6cb467943c58e159806e7a6d926

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

module Xsys
  module Model
    class ProviderKind
      attr_accessor :id, :name

      def initialize(attributes={})
        attributes.each do |k,v|
        if k == 'kind'
          @kind = ProviderKind.new(v)
        else
          self.send("#{k}=", v) if self.respond_to?(k)
        end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xsys-0.0.27 lib/xsys/model/provider_kind.rb
xsys-0.0.26 lib/xsys/model/provider_kind.rb
xsys-0.0.25 lib/xsys/model/provider_kind.rb
xsys-0.0.24 lib/xsys/model/provider_kind.rb
xsys-0.0.23 lib/xsys/model/provider_kind.rb
xsys-0.0.22 lib/xsys/model/provider_kind.rb
xsys-0.0.21 lib/xsys/model/provider_kind.rb
xsys-0.0.20 lib/xsys/model/provider_kind.rb
xsys-0.0.19 lib/xsys/model/provider_kind.rb