travis-ci
96 of 834 relevant lines covered (11.51%)
0.12 hits per line
1 |
module Dor |
1✔ |
2 |
class RegistrationResponse |
1✔ |
3 |
attr_reader :params
|
1✔ |
4 |
delegate :to_json, to: :params |
1✔ |
5 |
|
|
6 |
def initialize(p_hash) |
1✔ |
7 |
@params = p_hash
|
× |
8 |
end
|
|
9 |
|
|
10 |
def to_txt |
1✔ |
11 |
@params[:pid] |
× |
12 |
end
|
|
13 |
end
|
|
14 |
end
|