Method: Grom::Base.has_one_query
- Defined in:
- lib/grom/base.rb
.has_one_query(owner_object, *options) ⇒ Object
53 54 55 56 57 |
# File 'lib/grom/base.rb', line 53 def self.has_one_query(owner_object, *) endpoint_url = associations_url_builder(owner_object, self.name, {optional: , single: true }) ttl_data = get_ttl_data(endpoint_url) self.object_single_maker(ttl_data) end |