Sha256: 21219339058e21fbb077720ce3811f00b8e296b05c943455ec93d26a08ddd673

Contents?: true

Size: 1.03 KB

Versions: 10

Compression:

Stored size: 1.03 KB

Contents

module RubyApp

  module Elements

    module Mobile

      module Pages

        module Information
          require 'ruby_app/elements/mobile/navigation/back_button'
          require 'ruby_app/elements/mobile/pages/information/documents_list'
          require 'ruby_app/elements/mobile/page'
          require 'ruby_app/elements/mobile/pages/information/document_page'

          class DocumentsPage < RubyApp::Elements::Mobile::Page

            template_path(:all, File.dirname(__FILE__))

            def initialize(session)
              super()

              @session = session

              @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new

              @documents_list = RubyApp::Elements::Mobile::Pages::Information::DocumentsList.new(@session)
              @documents_list.clicked do |element, event|
                RubyApp::Elements::Mobile::Pages::Information::DocumentPage.new(event.item).show(event, element.options)
              end

            end

          end

        end

      end

    end

  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
RubyApp-0.5.16 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.15 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.14 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.13 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.12 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.11 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.10 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.9 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.5.0 lib/ruby_app/elements/mobile/pages/information/documents_page.rb
RubyApp-0.2.8 lib/ruby_app/elements/mobile/pages/information/documents_page.rb