Method: GoodData::Client#project=

Defined in:
lib/gooddata/models/client.rb

#project=(a_project) ⇒ GoodData::Cliet

Setter for the project this client has set

Parameters:

Returns:

  • (GoodData::Cliet)

    Returns the instance of the client


139
140
141
142
# File 'lib/gooddata/models/client.rb', line 139

def project=(a_project)
  data['project'] = a_project.respond_to?(:uri) ? a_project.uri : a_project
  self
end