Class: Buxfer::Tag

Inherits:
Response
  • Object
show all
Defined in:
lib/buxfer/tag.rb

Instance Method Summary collapse

Instance Method Details

#report(options = {}) ⇒ Object



9
10
11
# File 'lib/buxfer/tag.rb', line 9

def report(options = {})
  Buxfer.reports(options.merge(:tagName => self.name))
end

#transactions(options = {}) ⇒ Object

Return an array of the last 25 transactions for this tag. See Buxfer::Base#transactions for valid options.



5
6
7
# File 'lib/buxfer/tag.rb', line 5

def transactions(options = {})
  Buxfer.transactions(options.merge(:tag => self))
end