Sha256: 686a55bacdace1ae51418b6fae619112b239747ca266ef2d7fcdf0f2e62e56e7
Contents?: true
Size: 481 Bytes
Versions: 15
Compression:
Stored size: 481 Bytes
Contents
module Panda class VideoScope < Scope def initialize(parent) super(parent, Video) end def non_delegate_methods super + [:status, :page, :per_page] end def page(this_page) @scoped_attributes[:page] = this_page self end def per_page(this_per_page) @scoped_attributes[:per_page] = this_per_page self end def status(this_status) @scoped_attributes[:status] = this_status self end end end
Version data entries
15 entries across 15 versions & 2 rubygems