Class: Maestrano::Api::IdMapResource
Constant Summary
Constants inherited
from BaseResource
BaseResource::API_SQL_OPERATOR_MAPPING
Instance Method Summary
collapse
all_filters, attribute_type, generate_composite_filters, tables_exists?
Instance Method Details
#account_creation_link ⇒ Object
#account_linked? ⇒ Boolean
Also known as:
has_account_linked
22
23
24
|
# File 'app/resources/maestrano/api/id_map_resource.rb', line 22
def account_linked?
@model.oauth_uid.present?
end
|
#save ⇒ Object
32
33
34
35
|
# File 'app/resources/maestrano/api/id_map_resource.rb', line 32
def save
@model.tenant = context[:client]
super
end
|