Class: Nylas::Component

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/nylas/component.rb

Overview

Structure to represent a the Component Schema.

Instance Attribute Summary

Attributes included from Model

#api

Instance Method Summary collapse

Methods included from Model

#auth_method, #create, #destroy, #execute, included, #model_class, #persisted?, #reload, #resource_path, #save, #save_all_attributes, #to_json, #update, #update_all_attributes

Instance Method Details

#resources_pathObject



27
28
29
# File 'lib/nylas/component.rb', line 27

def resources_path(*)
  "/component/#{api.client.app_id}"
end