Class: XmlConv::View::TransactionsComposite

Inherits:
HtmlGrid::Composite
  • Object
show all
Defined in:
lib/xmlconv/view/transactions.rb

Constant Summary collapse

COMPONENTS =
{
	[0,0]	=>	:pager,
	[0,1]	=>	:transactions,
}
CSS_CLASS =
'composite'
LEGACY_INTERFACE =
false

Instance Method Summary collapse

Instance Method Details

#pager(model) ⇒ Object



78
79
80
# File 'lib/xmlconv/view/transactions.rb', line 78

def pager(model)
	Pager.new(model.pages, @session, self)
end

#transactions(page) ⇒ Object



81
82
83
# File 'lib/xmlconv/view/transactions.rb', line 81

def transactions(page)
	TransactionsList.new(page.model, @session, self)
end