Class: Tipjoy::Transaction

Inherits:
Object
  • Object
show all
Includes:
BulkInitializer
Defined in:
lib/tipjoy/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Transaction

Returns a new instance of Transaction.



23
24
25
# File 'lib/tipjoy/transaction.rb', line 23

def initialize(options={})
  assign_attributes(options)
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def amount
  @amount
end

#date_joinedObject

Returns the value of attribute date_joined.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def date_joined
  @date_joined
end

#is_loanObject

Returns the value of attribute is_loan.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def is_loan
  @is_loan
end

Returns the value of attribute permalink.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def permalink
  @permalink
end

#pretty_timeObject

Returns the value of attribute pretty_time.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def pretty_time
  @pretty_time
end

#profile_image_urlObject

Returns the value of attribute profile_image_url.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def profile_image_url
  @profile_image_url
end

#timeObject

Returns the value of attribute time.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def time
  @time
end

#transaction_idObject

Returns the value of attribute transaction_id.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def transaction_id
  @transaction_id
end

#tweet_idObject

Returns the value of attribute tweet_id.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def tweet_id
  @tweet_id
end

#tweet_messageObject

Returns the value of attribute tweet_message.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def tweet_message
  @tweet_message
end

#tweet_message_htmlObject

Returns the value of attribute tweet_message_html.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def tweet_message_html
  @tweet_message_html
end

#twitter_user_idObject

Returns the value of attribute twitter_user_id.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def twitter_user_id
  @twitter_user_id
end

#twitter_usernameObject

Returns the value of attribute twitter_username.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def twitter_username
  @twitter_username
end

#useridObject

Returns the value of attribute userid.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def userid
  @userid
end

#usernameObject

Returns the value of attribute username.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def username
  @username
end

#verifiedObject

Returns the value of attribute verified.



6
7
8
# File 'lib/tipjoy/transaction.rb', line 6

def verified
  @verified
end