lib/zendesk_api/resource.rb
def method_missing(*args, &block)
      raise NoMethodError, ":save is not defined" if args.first.to_sym == :save
      @attributes.send(*args, &block)
    end
def method_missing(*args, &block)
      raise NoMethodError, ":save is not defined" if args.first.to_sym == :save
      @attributes.send(*args, &block)
    end
def method_missing ( * args , & block ) raise NoMethodError , ":save is not defined" if args . first . to_sym == :save @attributes . send ( args , block ) end
Passes the method onto the attributes hash.
 If the attributes are nested (e.g. { :tickets => { :id => 1 } }), passes the method onto the nested hash.
Passes the method onto the attributes hash . If the attributes are nested ( e . g . { : tickets = > { : id = > 1 } } ) passes the method onto the nested hash .