Before you take credit for something, you may want to consider what those around you know. If they are aware that you had only cursory involvement, your braggadocio will put you in a bad light. As it is most bragging should be kept to a minimum. As your arm will get tired from that back-patting and that first round of "good job" is all your really deserve.
Paraphrasing a quote I heared someplace, by someone. Credit given that is knowingly not deserved equals satire.