Sha256: 7043de487c309815d0565da450e0bc28367c35e113c718b6eed5c94aefdf9ce7

Contents?: true

Size: 291 Bytes

Versions: 7

Compression:

Stored size: 291 Bytes

Contents

require 'active_support'

class LHS::Record

  module Where
    extend ActiveSupport::Concern

    module ClassMethods
      # Used to query data from the service.
      def where(params = {})
        data = request(params: params)
        data._record.new(data)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lhs-4.2.1 lib/lhs/concerns/record/where.rb
lhs-4.2.0 lib/lhs/concerns/record/where.rb
lhs-4.1.0 lib/lhs/concerns/record/where.rb
lhs-4.0.0 lib/lhs/concerns/record/where.rb
lhs-3.4.2 lib/lhs/concerns/record/where.rb
lhs-3.4.1 lib/lhs/concerns/record/where.rb
lhs-3.4.0 lib/lhs/concerns/record/where.rb