Class: MoySklad::Client::Attribute::MissingAttr

Inherits:
Object
  • Object
show all
Defined in:
lib/moy_sklad/client/attribute.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object



8
9
10
# File 'lib/moy_sklad/client/attribute.rb', line 8

def method_missing(meth, *args)
  MissingAttr.new
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/moy_sklad/client/attribute.rb', line 12

def empty?
  true
end

#present?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/moy_sklad/client/attribute.rb', line 16

def present?
  false
end