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

+ (Object) refresh_config!



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

- (Object) to_json(options = {})



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

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