Sha256: 81462abd5ef9fd898a6746e18f0ea4b37b74a7a1cc59c8eb8df2d573702e54c7

Contents?: true

Size: 265 Bytes

Versions: 3

Compression:

Stored size: 265 Bytes

Contents

require 'miu/resources'

module Miu
  module Resources
    class Network < Base
      attr_accessor :name

      def initialize(options = {})
        @name = options[:name]
      end

      def to_h
        super.merge({:name => @name})
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
miu-0.2.3 lib/miu/resources/network.rb
miu-0.2.2 lib/miu/resources/network.rb
miu-0.2.1 lib/miu/resources/network.rb