Class: AirlyClient::Sponsor

Inherits:
Entity
  • Object
show all
Defined in:
lib/api/sponsor.rb

Instance Attribute Summary

Attributes inherited from Entity

#raw

Instance Method Summary collapse

Methods inherited from Entity

#initialize

Constructor Details

This class inherits a constructor from Entity

Instance Method Details

#descriptionObject



11
12
13
# File 'lib/api/sponsor.rb', line 11

def description
    @raw['description']
end

#idObject



3
4
5
# File 'lib/api/sponsor.rb', line 3

def id
    @raw['id']
end


19
20
21
# File 'lib/api/sponsor.rb', line 19

def link
    @raw['link']
end

#logoObject



15
16
17
# File 'lib/api/sponsor.rb', line 15

def 
    @raw['logo']
end

#nameObject



7
8
9
# File 'lib/api/sponsor.rb', line 7

def name
    @raw['name']
end