Class: Wistia::Projects::Sharing

Inherits:
Base
  • Object
show all
Defined in:
lib/wistia/projects/sharing.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.refresh_config!Object



4
5
6
7
# File 'lib/wistia/projects/sharing.rb', line 4

def self.refresh_config!
  super
  self.site = "#{Wistia::Config.config.api.url}projects/:project_id/"
end

Instance Method Details

#to_json(options = {}) ⇒ Object



11
12
13
# File 'lib/wistia/projects/sharing.rb', line 11

def to_json(options = {})
  return self.attributes.to_json(options)
end