Method: BankingData::Query#only

Defined in:
lib/banking_data/query.rb

#only(*attrs) ⇒ Object



23
24
25
26
27
# File 'lib/banking_data/query.rb', line 23

def only(*attrs)
  clone.tap do |query|
    query.attributes = attrs
  end
end