Class: Diaspora::Exporter

Inherits:
Object
  • Object
show all
Defined in:
lib/diaspora/exporter.rb,
lib/diaspora/exporter/others_relayables.rb

Defined Under Namespace

Classes: OthersRelayables

Constant Summary collapse

SERIALIZED_VERSION =
"2.0"

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ Exporter

Returns a new instance of Exporter.


11
12
13
# File 'lib/diaspora/exporter.rb', line 11

def initialize(user)
  @user = user
end

Instance Method Details

#executeObject


15
16
17
# File 'lib/diaspora/exporter.rb', line 15

def execute
  JSON.generate full_archive
end