Method: BloomApi::Provider#reactivation_date

Defined in:
lib/bloom_api/provider.rb

#reactivation_dateDate?

Returns:

  • (Date)

    the reactivation date for the provider if it’s been reactivated

  • (nil)

    if the provider has not been reactivated



60
61
62
63
64
# File 'lib/bloom_api/provider.rb', line 60

def reactivation_date
  unless @raw_provider['reactivation_date'].nil?
    Time.parse(@raw_provider['reactivation_date']).to_date
  end
end