Class: EY::ServicesAPI::ServiceAccountResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/ey_services_api/service_account_response.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ey_services_api/service_account_response.rb', line 4

def to_hash
  {
    :service_account            => {
      :url                      => self.url,
      :configuration_required   => self.configuration_required,
      :configuration_url        => self.configuration_url,
      :provisioned_services_url => self.provisioned_services_url,
      :users_url                => self.users_url,
    },
    :message                    => self.message && self.message.to_hash
  }
end