def get_embedded_resource(method)
      return @_embedded[method] if @_embedded.key?(method)
      @_embedded[method] = @_definition['_embedded'][method]

      if @_embedded[method].kind_of?(Array)
        @_embedded[method].tap do |ary|
          ary.map!{ |definition| new_resource(definition, true) } unless ary.first.kind_of?(self.class)
        end
      else
        @_embedded[method] = new_resource(@_embedded[method], true)
      end
    end
def get_embedded_resource(method)
      return @_embedded[method] if @_embedded.key?(method)
      @_embedded[method] = @_definition['_embedded'][method]

      if @_embedded[method].kind_of?(Array)
        @_embedded[method].tap do |ary|
          ary.map!{ |definition| new_resource(definition, true) } unless ary.first.kind_of?(self.class)
        end
      else
        @_embedded[method] = new_resource(@_embedded[method], true)
      end
    end
Returns the embedded resource

 @param method [String/Symbol]
 @return [DeskApi::Resource]