Class: Ecoportal::API::GraphQL::Model::Organization
- Inherits:
-
Base::Organization
- Object
- Common::Content::DoubleModel
- Base::Model
- Base::Organization
- Ecoportal::API::GraphQL::Model::Organization
- Defined in:
- lib/ecoportal/api/graphql/model/organization.rb
Class Method Summary collapse
- .actions(**kargs, &block) ⇒ Connection::Action, Query::Actions
- .actionsQuery ⇒ Object
- .contractorEntities(**kargs, &block) ⇒ Connection::ContractorEntity, Query::ContractorEntities
- .contractorEntitiesQuery ⇒ Object
Methods inherited from Base::Model
as_input, #as_input, #as_update
Class Method Details
.actions(**kargs, &block) ⇒ Connection::Action, Query::Actions
27 28 29 30 31 32 33 |
# File 'lib/ecoportal/api/graphql/model/organization.rb', line 27 def actions(**kargs, &block) if kargs.empty? actionsQuery else actionsQuery.query(**kargs, &block) end end |
.actionsQuery ⇒ Object
35 36 37 |
# File 'lib/ecoportal/api/graphql/model/organization.rb', line 35 def actionsQuery Ecoportal::API::GraphQL::Query::Actions.new(client) end |
.contractorEntities(**kargs, &block) ⇒ Connection::ContractorEntity, Query::ContractorEntities
14 15 16 17 18 19 20 |
# File 'lib/ecoportal/api/graphql/model/organization.rb', line 14 def contractorEntities(**kargs, &block) if kargs.empty? contractorEntitiesQuery else contractorEntitiesQuery.query(**kargs, &block) end end |