Class: MediumApi::Contributor

Inherits:
Struct
  • Object
show all
Defined in:
lib/medium_api/contributor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#publication_idObject

Returns the value of attribute publication_id

Returns:

  • (Object)

    the current value of publication_id



2
3
4
# File 'lib/medium_api/contributor.rb', line 2

def publication_id
  @publication_id
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



2
3
4
# File 'lib/medium_api/contributor.rb', line 2

def role
  @role
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



2
3
4
# File 'lib/medium_api/contributor.rb', line 2

def user_id
  @user_id
end