Class: Snapcat::User

Inherits:
Object
  • Object
show all
Defined in:
lib/snapcat/user.rb

Defined Under Namespace

Modules: Privacy

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUser

Returns a new instance of User.



10
11
12
13
14
# File 'lib/snapcat/user.rb', line 10

def initialize
  @friends = []
  @snaps_sent = []
  @snaps_received = []
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



8
9
10
# File 'lib/snapcat/user.rb', line 8

def data
  @data
end

#friendsObject (readonly)

Returns the value of attribute friends.



8
9
10
# File 'lib/snapcat/user.rb', line 8

def friends
  @friends
end

#snaps_receivedObject (readonly)

Returns the value of attribute snaps_received.



8
9
10
# File 'lib/snapcat/user.rb', line 8

def snaps_received
  @snaps_received
end

#snaps_sentObject (readonly)

Returns the value of attribute snaps_sent.



8
9
10
# File 'lib/snapcat/user.rb', line 8

def snaps_sent
  @snaps_sent
end