Module: Camdram

Defined in:
lib/camdram.rb,
lib/camdram/api.rb,
lib/camdram/base.rb,
lib/camdram/http.rb,
lib/camdram/news.rb,
lib/camdram/role.rb,
lib/camdram/show.rb,
lib/camdram/user.rb,
lib/camdram/diary.rb,
lib/camdram/error.rb,
lib/camdram/event.rb,
lib/camdram/image.rb,
lib/camdram/utils.rb,
lib/camdram/venue.rb,
lib/camdram/client.rb,
lib/camdram/person.rb,
lib/camdram/search.rb,
lib/camdram/society.rb,
lib/camdram/version.rb,
lib/camdram/audition.rb,
lib/camdram/application.rb,
lib/camdram/performance.rb,
lib/camdram/refreshable.rb,
lib/camdram/time_period.rb,
lib/camdram/techie_advert.rb

Defined Under Namespace

Modules: API, Error, Refreshable, Utils, Version Classes: Application, Audition, Base, Client, Diary, Event, HTTP, Image, News, Performance, Person, Role, Search, Show, Society, TechieAdvert, TimePeriod, User, Venue

Class Method Summary collapse

Class Method Details

.base_urlString

Returns the URL of the Camdram server to send request to

Returns:

  • (String)

    The server URL.


9
10
11
# File 'lib/camdram.rb', line 9

def base_url
  'https://www.camdram.net'
end

.versionString

Returns the version of Camdram Ruby client library in use

Returns:

  • (String)

    The client version.


16
17
18
# File 'lib/camdram.rb', line 16

def version
  Camdram::Version.to_s
end