lib/gooddata/models/client.rb
def save
      if uri
        client.put(uri, json)
      else
        res = client.post(domain.segments_uri + '/clients', json)
        @json = res
      end
      self
    end
# Creates or updates a client instance on the API.
#
# @return [GoodData::Client] Client instance
Creates or updates a client instance on the API.
Creates or updates a client instance on the API .
def save
      if uri
        client.put(uri, json)
      else
        res = client.post(domain.segments_uri + '/clients', json)
        @json = res
      end
      self
    end
def save if uri client . put ( uri , json ) else res = client . post ( domain . segments_uri + '/clients' , json ) @json = res end self end
Creates or updates a client instance on the API.
Creates or updates a client instance on the API .
None
GoodData::Client