Sha256: 877b278ab8ad87d66795c7d1dc5aa7fc33b01deefadb8af6fb67a4173b675829

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

module Faat

  # Faat::Resources resources module
  module Resources

    # Faat::Resources::Base default resource class
    class Base

      # attr_accessor
      def method_missing(name, *attr, &block)
        if name == ""
          attribute_model.send :name
        end
      end

      def respond_to?(name)
        true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faat-0.1.0 lib/faat/resources/base.rb