Class: OpenGraphReader::Profile

Inherits:
Object
  • Object
show all
Includes:
Object
Defined in:
lib/open_graph_reader/definitions.rb

Overview

Instance Attribute Summary collapse

Attributes included from Object

#children, #content, #properties

Method Summary

Methods included from Object

#[], #[]=, #initialize, #property?, #to_s

Instance Attribute Details

#first_nameString?

Returns:

  • (String, nil)


160
# File 'lib/open_graph_reader/definitions.rb', line 160

string :first_name

#genderString?

Returns:

  • (String, nil)


172
# File 'lib/open_graph_reader/definitions.rb', line 172

enum :gender, %w(male female)

#last_nameString?

Returns:

  • (String, nil)


164
# File 'lib/open_graph_reader/definitions.rb', line 164

string :last_name

#roleString?

This one only exists because video had to define a video:actor:role, yay for designing a protocol with implementations in mind

Returns:

  • (String, nil)


178
# File 'lib/open_graph_reader/definitions.rb', line 178

string :role

#usernameString?

Returns:

  • (String, nil)


168
# File 'lib/open_graph_reader/definitions.rb', line 168

string :username